copy

package
v0.5.6 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2024 License: MPL-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Chown

func Chown(path string, userName string) error

func ChownR

func ChownR(path string, userName string) error

func CreateIfNotExists

func CreateIfNotExists(dir string, perm os.FileMode) error

func Directory

func Directory(scrDir, dest string) error

func Exists

func Exists(filePath string) bool

func File

func File(srcFile, dstFile string, perm os.FileMode) error

func IsUID

func IsUID(info os.FileInfo, uid uint32) bool

func Lchown

func Lchown(info os.FileInfo, sourcePath, destPath string) error

func RenameDirectory added in v0.4.0

func RenameDirectory(srcDir, dest string) error
func Symlink(source, dest string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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