Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AltWalker ¶
type AltWalker struct {
Root string
Options *Options
Sync chan bool
Output chan<- *File
Wait *sync.WaitGroup
}
AltWalker is an alternate walker that walks the path concurrently without opening too many simultaneous files
type Options ¶
type Options struct {
Pattern string
Recurse bool
Parallel int
HiddenDirs bool
HiddenFiles bool
IncludeGit bool
// contains filtered or unexported fields
}
Options for PathWalker implementations
type PathWalker ¶
type PathWalker interface {
Walk()
}
PathWalker interface
func NewAltWalker ¶
func NewAltWalker(root string, options *Options, output chan<- *File, wg *sync.WaitGroup) PathWalker
NewAltWalker is the constructor for the AltWalker type
Click to show internal directories.
Click to hide internal directories.