storage/pkg
Jason T. Greene 21ec71c4ce Improve AtomicFileWriter's support for Win and Mac
Add ExplicitCommit option to provide calling code the ability to
preserve original files when an application error occurs, not just
an error that occurs during writing.

Change Close() impl to safely handle redundant calls (for defer
usage safety)

Signed-off-by: Jason T. Greene <jason.greene@redhat.com>
2023-04-05 01:15:42 -05:00
..
archive Move to golang 1.18 and later 2023-04-03 15:26:54 -04:00
chrootarchive Move to golang 1.18 and later 2023-04-03 15:26:54 -04:00
chunked Move to golang 1.18 and later 2023-04-03 15:26:54 -04:00
config fix Save() 2022-02-10 22:34:00 -05:00
devicemapper Move to golang 1.18 and later 2023-04-03 15:26:54 -04:00
directory Add missing error checks in tests 2022-10-14 17:17:54 +02:00
dmesg fix inconsitent go build tags 2022-11-02 20:51:27 +01:00
fileutils Move to golang 1.18 and later 2023-04-03 15:26:54 -04:00
fsutils Use os.ReadDir instead of ioutil.ReadDir 2022-09-12 16:31:38 +02:00
homedir fix inconsitent go build tags 2022-11-02 20:51:27 +01:00
idmap Move to golang 1.18 and later 2023-04-03 15:26:54 -04:00
idtools Fix typos in error messages 2023-03-09 15:04:04 -05:00
ioutils Improve AtomicFileWriter's support for Win and Mac 2023-04-05 01:15:42 -05:00
locker Add missing error checks in tests 2022-10-14 17:17:54 +02:00
lockfile docs: fix fcn name ref for `AssertLockedForWriting` 2023-01-02 16:49:16 -05:00
longpath Windows: Fixing longpath hanlding of UNC paths. 2015-09-30 19:36:08 -07:00
loopback fix inconsitent go build tags 2022-11-02 20:51:27 +01:00
mflag Add missing error checks in tests 2022-10-14 17:17:54 +02:00
mount fix inconsitent go build tags 2022-11-02 20:51:27 +01:00
parsers Move to golang 1.18 and later 2023-04-03 15:26:54 -04:00
pools Misc individual warning fixes 2022-10-14 17:17:53 +02:00
promise Update packages to match latest code in moby/pkg 2017-09-12 18:00:29 +00:00
reexec Move to golang 1.18 and later 2023-04-03 15:26:54 -04:00
regexp Run codespell on codebase 2023-02-09 12:27:59 -05:00
stringid Create pkg/regexp to better handle init regex 2023-01-12 13:19:47 -05:00
stringutils Make *testing.T the first parameter of helper functions 2022-10-01 02:53:06 +02:00
system Move to golang 1.18 and later 2023-04-03 15:26:54 -04:00
tarlog Standardize on capatalized logrus messages, and remove stutters 2021-09-23 14:43:35 -04:00
truncindex Migrate from github.com/tchap/go-patricia to github.com/tchap/go-patricia/v2 2023-02-03 09:25:14 -05:00
unshare Move to golang 1.18 and later 2023-04-03 15:26:54 -04:00