fsutil

package
v0.0.0-...-614c4e1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Renamer = os.Rename

Used for testing.

Functions

func BaseNoExt

func BaseNoExt(path string) string

func Move

func Move(src, dst string) error

Move moves files or directories. It copies the contents when the move op failes because source and destination do not share the same filesystem.

func SetFileModes

func SetFileModes(root string, dirMode, fileMode int) error

SetFileModes recursively sets the file mode of root and its contents.

Types

This section is empty.

Jump to

Keyboard shortcuts

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