Documentation
¶
Index ¶
- func FilterFullPaths(isContinueOnError bool, errCollection *errwrappers.Collection, filter Filter, ...) *corestr.SimpleSlice
- func SimpleFilterFullPaths(isContinueOnError bool, filter SimpleFilter, fullPaths ...string) *errstr.Results
- func SimpleFilterFullPathsAsync(isContinueOnError bool, filter SimpleFilter, fullPaths ...string) *errstr.Results
- func SimpleFilterFullPathsUsingErrorCollectionAsync(isContinueOnError bool, errCollection *errwrappers.Collection, ...) []string
- type Filter
- type FilterArg
- type FilterPathToFilterResult
- type FilterResult
- type ProcessedResult
- type Processor
- type ProcessorIn
- type SimpleFilter
- type SimpleFilterUsingArg
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FilterFullPaths ¶ added in v0.5.2
func FilterFullPaths( isContinueOnError bool, errCollection *errwrappers.Collection, filter Filter, rootPath string, fullPaths ...string, ) *corestr.SimpleSlice
func SimpleFilterFullPaths ¶ added in v0.5.2
func SimpleFilterFullPaths( isContinueOnError bool, filter SimpleFilter, fullPaths ...string, ) *errstr.Results
func SimpleFilterFullPathsAsync ¶ added in v0.5.2
func SimpleFilterFullPathsAsync( isContinueOnError bool, filter SimpleFilter, fullPaths ...string, ) *errstr.Results
func SimpleFilterFullPathsUsingErrorCollectionAsync ¶ added in v0.5.2
func SimpleFilterFullPathsUsingErrorCollectionAsync( isContinueOnError bool, errCollection *errwrappers.Collection, filter SimpleFilter, fullPaths ...string, ) []string
Types ¶
type Filter ¶
type Filter func(arg *FilterArg) *FilterResult
type FilterArg ¶
type FilterArg struct {
RootPath, FileName, FullPath string
IsFile, IsDirectory bool
InputError error
os.FileInfo
}
func (*FilterArg) ExtensionWrapper ¶
type FilterPathToFilterResult ¶ added in v0.5.2
type FilterPathToFilterResult func(fullPath string) *FilterResult
type FilterResult ¶
type FilterResult struct { FullPath string IsTake, IsBreak bool ErrorWrapper *errorwrapper.Wrapper }
func FilterResults ¶ added in v0.5.2
func FilterResults( isContinueOnError bool, errCollection *errwrappers.Collection, filter Filter, rootPath string, fullPaths ...string, ) []*FilterResult
func InvalidFilterResult ¶ added in v0.5.2
func InvalidFilterResult( fullPath string, ) *FilterResult
func InvalidFilterResultUsingErrWp ¶ added in v0.5.2
func InvalidFilterResultUsingErrWp( fullPath string, errWrap *errorwrapper.Wrapper, ) *FilterResult
type ProcessedResult ¶
type SimpleFilter ¶ added in v0.5.2
type SimpleFilterUsingArg ¶ added in v0.5.2
Click to show internal directories.
Click to hide internal directories.