moby/pkg/fileutils
Sebastiaan van Stijn 24e371c812
pkg/fileutils: improve tests
- use t.TempDir() to make sure we're testing from a clean state
- improve checks for errors to have the correct error-type where possible

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2022-10-16 20:15:08 +02:00
..
deprecated.go replace pkg/fileutils Matching funcs with github.com/moby/patternmatcher 2022-09-30 23:25:28 +02:00
fileutils.go replace pkg/fileutils Matching funcs with github.com/moby/patternmatcher 2022-09-30 23:25:28 +02:00
fileutils_darwin.go Add canonical import comment 2018-02-05 16:51:57 -05:00
fileutils_test.go pkg/fileutils: improve tests 2022-10-16 20:15:08 +02:00
fileutils_unix.go refactor: move from io/ioutil to io and os package 2021-08-27 14:56:57 +08:00
fileutils_windows.go Add canonical import comment 2018-02-05 16:51:57 -05:00