Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Action ¶
Action is a function that takes a file's path and information, and optionally returns an error.
type Builder ¶
type Builder interface { // Unsorted Options Unsorted() Builder // When Predicates When(Predicate) Builder WhenIsDir() Builder WhenIsFile() Builder WhenHasName(string) Builder WhenNameMatches(string) Builder // Do Actions Do(Action) error MustDo(Action) AppendPaths(*[]string) error CollectPaths() ([]string, error) CollectFilterPaths(...string) ([]string, error) CollectPathsGrouped(depth int) (map[string][]string, error) CollectDepthPaths(depth int) ([]string, error) }
Click to show internal directories.
Click to hide internal directories.