path

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2025 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetParentDirs added in v1.3.0

func GetParentDirs(files []string) sets.Set[string]

GetParentDirs returns all the parent directories of given files.

func ListDirsAndFiles added in v1.3.0

func ListDirsAndFiles(paths []string) (dirs sets.Set[string], files sets.Set[string])

ListDirsAndFiles return a list of directories and files from a list of paths recursively.

func ValidateOutputPath

func ValidateOutputPath(outputPath string) (string, error)

ValidateOutputPath takes an output file path and returns it as an absolute path. It returns an error if the absolute path cannot be determined or if the parent directory does not exist.

Types

This section is empty.

Jump to

Keyboard shortcuts

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