//
pkg.gl
Category
github.com/goatcms/goatcore
filesystem
fsloop
package
0.0.0-20240416161049-a532a675ca5c
Repository:
https://github.com/goatcms/goatcore.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
7
Dependents
4
Files
280 SLOC
#
Functions
NewLoop
NewLoop create new loop instance.
WalkFS
WalkFS walks the file tree rooted at root, calling walkFn for each file or directory in the tree, including root.
#
Constants
ChanSize
ChanSize is default channel size.
StepClose
StepClose is close step id.
#
Structs
Chans
Chans contains channels and mutex for loop.
Consumer
Consumer is object represent single loop consumer task.
Loop
Loop is a loop on a filespace.
LoopData
LoopData is loop data container.
Producer
Producer produce data for loop.
#
Type aliases
WalkFunc
WalkFunc is Walk callback.