Documentation ¶
Overview ¶
package ant performs a function of type Processing on each file in several files, folders and sub-folders.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Admin ¶
type Admin struct { Trees []string // Trees contains all files and folders to process. Sub-folders are walked automatically. MatchingFileName func(fi os.FileInfo) bool // MatchingFileName is a user provided function and returns true on matching user conditions. Simplest case: func(_ os.FileInfo){ return true } for all files. Action Processing // Action is the user provided function executed on each file in Trees. Mutex sync.RWMutex // A sync.RWMutex is thus preferable for data that is mostly read. // contains filtered or unexported fields }
Admin holds the walk specific data.
Click to show internal directories.
Click to hide internal directories.