( oid git.OID, size TreeSize, objectSize counts.Count32, treeEntries counts.Count32, )
| 503 | } |
| 504 | |
| 505 | func (g *Graph) finalizeTreeSize( |
| 506 | oid git.OID, size TreeSize, objectSize counts.Count32, treeEntries counts.Count32, |
| 507 | ) { |
| 508 | g.treeLock.Lock() |
| 509 | g.treeSizes[oid] = size |
| 510 | delete(g.treeRecords, oid) |
| 511 | g.treeLock.Unlock() |
| 512 | |
| 513 | g.historyLock.Lock() |
| 514 | g.historySize.recordTree(g, oid, size, objectSize, treeEntries) |
| 515 | g.historyLock.Unlock() |
| 516 | } |
| 517 | |
| 518 | type treeRecord struct { |
| 519 | oid git.OID |
no test coverage detected