Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type TreeLoader ¶
TreeLoader loads tree objects.
type TreeWalker ¶
type TreeWalker struct {
// contains filtered or unexported fields
}
TreeWalker traverses a tree in the repository depth-first and sends a job for each item (file or dir) that it encounters.
func NewTreeWalker ¶
func NewTreeWalker(ch chan<- loadTreeJob, out chan<- TreeJob) *TreeWalker
NewTreeWalker uses ch to load trees from the repository and sends jobs to out.
Click to show internal directories.
Click to hide internal directories.