fscommon

package
v1.93.14-cluster Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2024 License: Apache-2.0 Imports: 6 Imported by: 17

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 paths to all the files from local dir to dst.

All the appended filepaths will have dir prefix. The returned paths have local OS-specific directory separators.

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