Documentation
¶
Overview ¶
Package fsutil provides shared filesystem helpers used across the compiler.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WalkExt ¶
func WalkExt(root string, exts map[string]bool, skipDirs map[string]bool, fn func(path string, info os.FileInfo) error) error
WalkExt walks root and invokes fn for every regular file whose extension is in exts. Directories named in skipDirs (base name match) are pruned. The first error returned by fn or the walker is returned.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.