Samuel Karp
b624486c84
native: support for FreeBSD
...
Signed-off-by: Samuel Karp <me@samuelkarp.com>
2020-12-22 21:26:04 -08:00
Jian Zeng
c50ff694f0
refactor(native): separate init from implementation
...
Part of #4513
Signed-off-by: Jian Zeng <anonymousknight96@gmail.com>
2020-09-03 19:58:31 +08:00
Derek McGowan
66aa1d3ef6
Add snapshot walk implementations
...
Temporarily remove zfs and aufs until interface update
Signed-off-by: Derek McGowan <derek@mcgstyle.net>
2019-10-24 11:11:22 -07:00
bpopovschi
e8c14c07c6
Added filters to snapshots API
...
Signed-off-by: bpopovschi <zyqsempai@mail.ru>
2019-10-24 11:11:22 -07:00
Akihiro Suda
d52cbc19be
snapshots/native: ignore xattr errors during CopyDir
...
`secuity.*` xattrs cannot be copied in most cases
For moby/buildkit#1189
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2019-10-13 01:53:35 +09:00
Ace-Tang
7faaa64cf9
fix: miss remove temp file in createSnapshot
...
```
func foo() error {
defer func() {
if err != nil {
...
}
}()
...
}
```
use defer func to do something when err not nil, if foo() not use
named error, `err != nil` can not catch all errors, since when err
re-defined in if condition, it is a new variable.
Signed-off-by: Ace-Tang <aceapril@126.com>
2018-12-24 23:01:56 +08:00
Michael Wan
92243ff72a
bugfix: updatedAt timestamp file may be empty
...
Signed-off-by: Michael Wan <zirenwan@gmail.com>
2018-08-29 21:49:40 -04:00
Akihiro Suda
7461739b58
native: set '/' permission to 0755
...
Unlike other snapshotters, the permission was previously set to 0700
unexpectedly.
Signed-off-by: Akihiro Suda <suda.akihiro@lab.ntt.co.jp>
2018-07-23 16:14:55 +09:00
Akihiro Suda
83e35b3d3a
enable native (formerly naive) snapshotter by default
...
Signed-off-by: Akihiro Suda <suda.akihiro@lab.ntt.co.jp>
2018-04-02 13:29:19 +09:00