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

Method getTotalSize

level_handler.go:48–52  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

46}
47
48func (s *levelHandler) getTotalSize() int64 {
49 s.RLock()
50 defer s.RUnlock()
51 return s.totalSize
52}
53
54// initTables replaces s.tables with given tables. This is done during loading.
55func (s *levelHandler) initTables(tables []*table.Table) {

Callers 5

isCompactableMethod · 0.95
FlattenMethod · 0.80
createTableMethod · 0.80
pickCompactLevelsMethod · 0.80
addLevel0TableMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected