fileutils

package
v0.4.4 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2017 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Package fileutils provides utililty methods to copy and move files and directories.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Copyfile

func Copyfile(dst, src string) error

Copyfile copies file to destination creating destination directory if needed

func Copypath

func Copypath(dst string, src string) error

Copypath copies the contents of src to dst, excluding any file or directory that starts with a period.

func RemoveAll

func RemoveAll(path string) error

RemoveAll removes path and any children it contains. Unlike os.RemoveAll it deletes read only files on Windows.

Types

This section is empty.

Jump to

Keyboard shortcuts

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