MCPcopy
hub / github.com/git-lfs/git-lfs / Len

Method Len

tq/transfer_queue.go:137–137  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

135}
136
137func (b batch) Len() int { return len(b) }
138func (b batch) Less(i, j int) bool { return b[i].Size < b[j].Size }
139func (b batch) Swap(i, j int) { b[i], b[j] = b[j], b[i] }
140

Callers 9

TestCopyWithCallbackFunction · 0.45
TestOrderedSetUnionFunction · 0.45
TestOrderedSetIntersectFunction · 0.45
TestOrderedSetDifferenceFunction · 0.45
TestOrderedSetIterFunction · 0.45
TestOrderedSetCloneFunction · 0.45

Calls

no outgoing calls

Tested by 9

TestCopyWithCallbackFunction · 0.36
TestOrderedSetUnionFunction · 0.36
TestOrderedSetIntersectFunction · 0.36
TestOrderedSetDifferenceFunction · 0.36
TestOrderedSetIterFunction · 0.36
TestOrderedSetCloneFunction · 0.36