fscommon

package
v1.93.2 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2023 License: Apache-2.0 Imports: 6 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AppendFiles

func AppendFiles(dst []string, dir string) ([]string, error)

AppendFiles appends all the files from dir to dst.

All the appended files will have dir prefix.

func IgnorePath added in v1.32.1

func IgnorePath(path string) bool

IgnorePath returns true if the given path must be ignored.

func RemoveEmptyDirs

func RemoveEmptyDirs(dir string) error

RemoveEmptyDirs recursively removes empty directories under the given dir.

Types

This section is empty.

Jump to

Keyboard shortcuts

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