fs

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2020 License: Apache-2.0 Imports: 5 Imported by: 5

Documentation

Index

Constants

View Source
const PathSeparator = string(os.PathSeparator)

PathSeparator is the OS dependent path separator character as a string.

Variables

This section is empty.

Functions

func CopyFile

func CopyFile(source string, destination string, bufferSize int64) (int64, error)

CopyFile copies file from source to destination on the file system. Returns the number of bytes copied and an optional error.

func FindInPath

func FindInPath(fileName string) (string, error)

FindInPath searches the PATH and the local directory structure for a file.

func TempDirectoryPath

func TempDirectoryPath(suffix string) string

TempDirectoryPath returns a path under the system temporary directory.

Types

This section is empty.

Jump to

Keyboard shortcuts

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