MCPcopy Index your code
hub / github.com/CovenantSQL/CovenantSQL / newMetaIndex

Function newMetaIndex

blockproducer/metaindex.go:50–56  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

48}
49
50func newMetaIndex() *metaIndex {
51 return &metaIndex{
52 accounts: make(map[proto.AccountAddress]*types.Account),
53 databases: make(map[proto.DatabaseID]*types.SQLChainProfile),
54 provider: make(map[proto.AccountAddress]*types.ProviderProfile),
55 }
56}
57
58func (i *metaIndex) deepCopy() (cpy *metaIndex) {
59 cpy = newMetaIndex()

Callers 6

deepCopyMethod · 0.85
makeArenaMethod · 0.85
newMetaStateFunction · 0.85
commitMethod · 0.85
cleanMethod · 0.85
makeCopyMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected