fileutils

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2024 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ChownR

func ChownR(path string, uid, gid int) error

рекурсивный chown

func Copy

func Copy(srcFile string, dstFile string) error

скопировать файл

func CopyDirectory

func CopyDirectory(srcDir, destDir string) error

cкопировать директорию

func CopySymLink(source, dest string) error

скопировать символьную ссылку

func CreateDirectoryIfNotExists

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

создать директорию, если она не существует

func Exists

func Exists(filePath string) bool

проверить, существует ли файл

Types

This section is empty.

Jump to

Keyboard shortcuts

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