moby/pkg/ioutils
Sebastiaan van Stijn c63ea32a17
pkg/ioutils: TempDir: move to pkg/longpath
This utility wasn't very related to all other utilities in pkg/ioutils.
Moving it to longpath to also make it more clear what it does.

It looks like there's only a single (public) external consumer of this
utility, and only used in a test, and it's not 100% clear if it was
intentional to use our package, of if it was a case of "I actually meant
`io/ioutil.MkdirTemp`" so we could consider skipping the alias.

While moving the package, I also renamed `TempDir` to `MkdirTemp`, which
is the signature it matches in "os" from stdlib.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2022-12-20 23:24:12 +01:00
..
buffer.go Add canonical import comment 2018-02-05 16:51:57 -05:00
buffer_test.go Add canonical import comment 2018-02-05 16:51:57 -05:00
bytespipe.go use defer to unlock mutex 2021-08-27 14:39:46 +02:00
bytespipe_test.go pkg/*: fix "empty-lines" (revive) 2022-09-28 01:58:49 +02:00
fswriters.go refactor: move from io/ioutil to io and os package 2021-08-27 14:56:57 +08:00
fswriters_test.go pkg/*: fix "empty-lines" (revive) 2022-09-28 01:58:49 +02:00
readers.go fix go-digest to make sure the algorithms are registered 2021-08-20 00:35:41 +02:00
readers_test.go refactor: move from io/ioutil to io and os package 2021-08-27 14:56:57 +08:00
tempdir_deprecated.go pkg/ioutils: TempDir: move to pkg/longpath 2022-12-20 23:24:12 +01:00
writeflusher.go Add canonical import comment 2018-02-05 16:51:57 -05:00
writers.go Add canonical import comment 2018-02-05 16:51:57 -05:00
writers_test.go pkg/*: fix "empty-lines" (revive) 2022-09-28 01:58:49 +02:00