Reduce graph.Iterator method names
This commit is contained in:
parent
e4fb5d2bb8
commit
8576f66d20
21 changed files with 115 additions and 98 deletions
|
|
@ -171,9 +171,9 @@ func (it *Iterator) DebugString(indent int) string {
|
|||
return fmt.Sprintf("%s(%s size:%d %s %s)", strings.Repeat(" ", indent), it.Type(), size, it.hash, it.name)
|
||||
}
|
||||
|
||||
func (it *Iterator) GetStats() *graph.IteratorStats {
|
||||
func (it *Iterator) Stats() graph.IteratorStats {
|
||||
size, _ := it.Size()
|
||||
return &graph.IteratorStats{
|
||||
return graph.IteratorStats{
|
||||
CheckCost: 1,
|
||||
NextCost: 5,
|
||||
Size: size,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue