Documentation ¶ Index ¶ func WalkDir(root string, f WalkFunc) error func WalkLayerTar(layer io.Reader, analyzeFn WalkFunc) ([]string, []string, error) type WalkFunc Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func WalkDir ¶ func WalkDir(root string, f WalkFunc) error WalkDir walks the file tree rooted at root, calling WalkFunc for each file or directory in the tree, including root, but a directory to be ignored will be skipped. func WalkLayerTar ¶ func WalkLayerTar(layer io.Reader, analyzeFn WalkFunc) ([]string, []string, error) Types ¶ type WalkFunc ¶ type WalkFunc func(filePath string, info os.FileInfo, opener analyzer.Opener) error Source Files ¶ View all Source files fs.go tar.go walk.go Click to show internal directories. Click to hide internal directories.