MCPcopy
hub / github.com/wagoodman/dive / Visitor

FuncType Visitor

dive/filetree/file_tree.go:190–190  ·  view source on GitHub ↗

Visitor is a function that processes, observes, or otherwise transforms the given node

func(*FileNode) error

Source from the content-addressed store, hash-verified

188
189// Visitor is a function that processes, observes, or otherwise transforms the given node
190type Visitor func(*FileNode) error
191
192// VisitEvaluator is a function that indicates whether the given node should be visited by a Visitor.
193type VisitEvaluator func(*FileNode) bool

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected