MCPcopy Create free account
hub / github.com/amit-davidson/Building-a-NoSQL-database-from-zero / NewNodeForSerialization

Function NewNodeForSerialization

Part 6/node.go:27–32  ·  view source on GitHub ↗

NewNodeForSerialization creates a new node only with the properties that are relevant when saving to the disk

(items []*Item, childNodes []pgnum)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

newDalFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected