package directory

import "github.com/dotcloud/docker/pkg/directory"

Index

Functions

func MoveToSubdir

func MoveToSubdir(oldpath, subdir string) error

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

func Size

func Size(dir string) (size int64, err error)

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

Source Files

directory.go directory_windows.go

Version
v1.13.0-rc6
Published
Jan 11, 2017
Platform
windows/amd64
Imports
3 packages
Last checked
15 minutes ago

Tools for package owners.