moby/pkg/directory
Sebastiaan van Stijn 5e15ce3a4a
pkg/directory: remove unused MoveToSubdir() utility
This utility was added in 442b45628e as part of
user-namespaces, and first used in 44e1023a93 to
set up the daemon root, and move the existing content;
44e1023a93/daemon/daemon_experimental.go (L68-L71)

A later iteration no longer _moved_ the existing root directory, and removed the
use of `directory.MoveToSubdir()` e8532023f2

It looks like there's no external consumers of this utility, so we should be
save to remove it.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
(cherry picked from commit 26659d5eb8)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2022-11-05 18:31:05 +01:00
..
directory.go pkg/directory: remove unused MoveToSubdir() utility 2022-11-05 18:31:05 +01:00
directory_test.go pkg/directory: remove unused MoveToSubdir() utility 2022-11-05 18:31:05 +01:00
directory_unix.go pkg/directory: minor refactor of Size() 2022-11-05 18:31:05 +01:00
directory_windows.go pkg/directory: minor refactor of Size() 2022-11-05 18:31:05 +01:00