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

Method file_offset

nodedb-wal/src/writer.rs:383–385  ·  view source on GitHub ↗

Current file size (bytes written to disk).

(&self)

Source from the content-addressed store, hash-verified

381
382 /// Current file size (bytes written to disk).
383 pub fn file_offset(&self) -> u64 {
384 self.file_offset
385 }
386
387 /// Flush the aligned buffer to the file.
388 fn flush_buffer(&mut self) -> Result<()> {

Callers 1

appendMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected