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 { // Options Unsorted() Builder // Predicates When(Predicate) Builder WhenIsDir() Builder WhenIsFile() Builder WhenHasName(string) Builder WhenNameMatches(string) Builder // Actions Do(Action) error MustDo(Action) AppendPaths(*[]string) error CollectPaths() ([]string, error) CollectPathsGrouped(depth int) (map[string][]string, error) }
Click to show internal directories.
Click to hide internal directories.