Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BoundedTree ¶
func NewBoundedTree ¶
func NewBoundedTree(baseDir util.FullPath) *BoundedTree
func (*BoundedTree) EnsureVisited ¶
func (t *BoundedTree) EnsureVisited(p util.FullPath, visitFn VisitNodeFunc) (visitErr error)
If the path is not visited, call the visitFn for each level of directory No action if the directory has been visited before or does not exist. A leaf node, which has no children, represents a directory not visited. A non-leaf node or a non-existing node represents a directory already visited, or does not need to visit.
func (*BoundedTree) HasVisited ¶
func (t *BoundedTree) HasVisited(p util.FullPath) bool
Click to show internal directories.
Click to hide internal directories.