Documentation
¶
Index ¶
- func CacheDir() string
- func CopyFile(src, dst string) (int64, error)
- func DefaultCacheDir() string
- func DirExists(path string) bool
- func HomeDir() string
- func SetCacheDir(dir string)
- func WalkDir(fsys fs.FS, root string, required WalkDirRequiredFunc, fn WalkDirFunc) error
- type WalkDirFunc
- type WalkDirRequiredFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultCacheDir ¶
func DefaultCacheDir() string
DefaultCacheDir returns/creates the cache-dir to be used for trivy operations
func WalkDir ¶
func WalkDir(fsys fs.FS, root string, required WalkDirRequiredFunc, fn WalkDirFunc) error
Types ¶
type WalkDirFunc ¶
Click to show internal directories.
Click to hide internal directories.