pathfuncs

package
v0.2.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 16, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Filter

type Filter func(arg *FilterArg) *FilterResult

type FilterArg

type FilterArg struct {
	RootPath, FileName, FullPath, Separator string
	IsFile, IsDirector                      bool
	os.FileInfo
}

func (*FilterArg) ExtensionWrapper

func (receiver *FilterArg) ExtensionWrapper() *pathext.Wrapper

type FilterResult

type FilterResult struct {
	FullPath        string
	IsKeep, IsBreak bool
	*errorwrapper.Wrapper
}

type ProcessedResult

type ProcessedResult struct {
	Result          string
	IsKeep, IsBreak bool
}

type Processor

type Processor func(index int, currentPath string) (result string)

type ProcessorIn

type ProcessorIn struct {
	Index       int
	CurrentPath string
	Wg          *sync.WaitGroup
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL