MCPcopy Create free account
hub / github.com/NodeDB-Lab/nodedb / offset

Method offset

nodedb-wal/src/reader.rs:155–157  ·  view source on GitHub ↗

Current read offset in the file.

(&self)

Source from the content-addressed store, hash-verified

153
154 /// Current read offset in the file.
155 pub fn offset(&self) -> u64 {
156 self.offset
157 }
158
159 fn read_exact(&mut self, buf: &mut [u8]) -> Result<()> {
160 self.file.read_exact(buf)?;

Callers 5

recoverFunction · 0.45
submit_and_wait_writeMethod · 0.45
read_syncMethod · 0.45
prefetch_batchMethod · 0.45
read_filesMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected