package directory
import "github.com/dotcloud/docker/pkg/directory"
Index ¶
- func MoveToSubdir(oldpath, subdir string) error
- func Size(ctx context.Context, dir string) (size int64, err error)
Functions ¶
func MoveToSubdir ¶
MoveToSubdir moves all contents of a directory to a subdirectory underneath the original path
func Size ¶
Size walks a directory tree and returns its total size in bytes.
Source Files ¶
directory.go directory_unix.go
- Version
- v20.10.26+incompatible
- Published
- Aug 30, 2023
- Platform
- linux/amd64
- Imports
- 4 packages
- Last checked
- 16 minutes ago –
Tools for package owners.