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

Method remaining

nodedb-wal/src/align.rs:146–148  ·  view source on GitHub ↗

Remaining capacity.

(&self)

Source from the content-addressed store, hash-verified

144
145 /// Remaining capacity.
146 pub fn remaining(&self) -> usize {
147 self.capacity - self.len
148 }
149
150 /// The alignment of this buffer.
151 pub fn alignment(&self) -> usize {

Callers 2

appendMethod · 0.45
appendMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected