Documentation ¶
Index ¶
- func CacheDir() string
- func Exec(command string, args []string) (string, error)
- func Exists(path string) (bool, error)
- func FetchURL(url string, apiKey ...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
- type Errors
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
Types ¶
type Errors ¶ added in v0.2.0
type Errors []error
Errors has a set of errors that occurred in GORM
Click to show internal directories.
Click to hide internal directories.