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

Method encryptionEnabled

value.go:199–201  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

197}
198
199func (lf *logFile) encryptionEnabled() bool {
200 return lf.dataKey != nil
201}
202
203func (lf *logFile) munmap() (err error) {
204 if lf.loadingMode != options.MemoryMap || len(lf.fmap) == 0 {

Callers 5

encodeEntryMethod · 0.95
decodeEntryMethod · 0.95
EntryMethod · 0.80
openMethod · 0.80
ReadMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected