Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NodeDB-Lab/nodedb
/ is_empty
Method
is_empty
nodedb-wal/src/mmap_reader.rs:229–231 ·
view source on GitHub ↗
Whether the mmap'd region is empty.
(&self)
Source
from the content-addressed store, hash-verified
227
228
/// Whether the mmap'd region is empty.
229
pub fn is_empty(&self) -> bool {
230
self.mmap.is_empty()
231
}
232
}
233
234
/// Iterator over records in a mmap'd WAL segment.
Callers
1
open
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected