directory

package
v0.0.0-...-990c56a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 15, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

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(ctx context.Context, dir string) (size int64, err error)

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

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL