MCPcopy
hub / github.com/dgraph-io/badger / getSummary

Method getSummary

db_test.go:61–67  ·  view source on GitHub ↗
(sum *summary)

Source from the content-addressed store, hash-verified

59}
60
61func (s *levelHandler) getSummary(sum *summary) {
62 s.RLock()
63 defer s.RUnlock()
64 for _, t := range s.tables {
65 sum.fileIDs[t.ID()] = true
66 }
67}
68
69func (s *DB) validate() error { return s.lc.validate() }
70

Callers 2

getSummaryMethod · 0.45
TestLoadFunction · 0.45

Calls 1

IDMethod · 0.80

Tested by

no test coverage detected