fileutil

package
v0.4.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Copy

func Copy(srcFile, dstFile string, dstFS fs.FullFS) error

func CopyDirectory

func CopyDirectory(srcDir, dest string, destFS fs.FullFS) error
func CopySymLink(source, dest string, dstFS fs.FullFS) error

func CreateIfNotExists

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

func Exists

func Exists(fs fs.FullFS, filePath string) bool
func IsSymbolicLink(rootfs fullfs.FullFS, path string) (bool, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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