Documentation ¶
Index ¶
- func CacheDir() string
- func Exec(command string, args []string) (string, error)
- func Exists(path string) (bool, error)
- func FetchURL(url string) ([]byte, error)
- func FileWalk(root string, targetFiles map[string]struct{}, ...) error
- func FilterTargets(prefixPath string, targets map[string]struct{}) (map[string]struct{}, error)
- func GetDefaultLogDir() string
- func IsCommandAvailable(name string) bool
- func SetLogger(logToFile bool, logDir string, debug, logJSON bool) error
- func Unique[T comparable](s []T) []T
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FileWalk ¶ added in v0.2.0
func FileWalk(root string, targetFiles map[string]struct{}, walkFn func(r io.Reader, path string) error) error
FileWalk walks the file tree rooted at root
func FilterTargets ¶ added in v0.2.0
FilterTargets filter targets
func IsCommandAvailable ¶ added in v0.2.0
IsCommandAvailable :
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.