filecopy

package
v1.3.1-rc2 Latest Latest
Warning

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

Go to latest
Published: May 23, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CopyDir

func CopyDir(source string, destination string) error

CopyDir copies a whole directory from source to destination This may be replaced in future with https://github.com/golang/go/issues/62484

func CopyFile

func CopyFile(src, dst string) error

File copies a single file from src to dst, preserving file mode. If the destination file exists, it will be overwritten. This may be replaced in future with https://github.com/golang/go/issues/62484

Types

This section is empty.

Jump to

Keyboard shortcuts

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