fileutils

package
v6.0.0-beta+incompatible Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2013 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CopyFilePaths

func CopyFilePaths(fromPath, toPath string) (err error)

func CopyPathToFile

func CopyPathToFile(originalFilePath string, targetFile *os.File) (err error)

func IsDirEmpty

func IsDirEmpty(dir string) (isEmpty bool, err error)

func ReadFile

func ReadFile(file *os.File) string

func TempDir

func TempDir(pathPrefix string, cb func(tmpDir string, err error))

func TempFile

func TempFile(pathPrefix string, cb func(tmpFile *os.File, err error))

Types

This section is empty.

Jump to

Keyboard shortcuts

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