fs

package
v0.0.0-...-04e40b3 Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2018 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CopyDir

func CopyDir(sourceDir, targetDir string) error

Copy the file tree in `sourceDir` to `targetDir`.

func CopyFile

func CopyFile(source, target string) error

Copy a file at source to target. Assumes target's parent directory is present.

func CopyFileAll

func CopyFileAll(sourcePath, targetPath string) error

Copy a file from `sourcePath` to `targetPath` creating the directory path to the `target` if not present.

func IsDir

func IsDir(path string) (error, bool)

Types

This section is empty.

Jump to

Keyboard shortcuts

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