docker: Index | Files

package directory

import ""


Package Files

directory.go directory_unix.go

func MoveToSubdir Uses

func MoveToSubdir(oldpath, subdir string) error

MoveToSubdir moves all contents of a directory to a subdirectory underneath the original path

func Size Uses

func Size(ctx context.Context, dir string) (size int64, err error)

Size walks a directory tree and returns its total size in bytes.

Package directory imports 5 packages (graph) and is imported by 1344 packages. Updated 2019-10-01. Refresh now. Tools for package owners.