MCPcopy Create free account
hub / github.com/dotchain/dot / GC

Method GC

changes/table/sparse.go:91–121  ·  view source on GitHub ↗

GC finds all cells that are orphaned by prior row/column deletes and clears them out. It returns the changes matching the delete as well. The rowKey and colKey functions provide the mapping from the corresponding IDs to the key. These can be nil to indicate the IDs are themselves the keys into the

(rowKey, colKey func(interface{}) interface{})

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

TestGCMethod · 0.80

Calls 3

forEachRowMethod · 0.95
forEachColMethod · 0.95
ChangeSetTypeAlias · 0.92

Tested by 1

TestGCMethod · 0.64