Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Node ¶
type Node struct {
// Parent is kept for debugging and presentation purposes.
// It should contain the entire filepath leading up to the node.
Parent string
Dir string
// Children maps the part to a Node
Children map[string]*Node
Stats []commit.FileStat
}
func (*Node) AddStat ¶
AddStat appends the file stat to the node, traversing downwards to the proper child.
func (*Node) QueryStats ¶
QueryStats produces the list of file stats for the path.
Click to show internal directories.
Click to hide internal directories.