MCPcopy Create free account
hub / github.com/erans/pgsqlite / capacity

Method capacity

src/protocol/buffer_pool.rs:354–356  ·  view source on GitHub ↗

Get the capacity of the buffer

(&self)

Source from the content-addressed store, hash-verified

352
353 /// Get the capacity of the buffer
354 pub fn capacity(&self) -> usize {
355 self.buffer().capacity()
356 }
357
358 /// Clear the buffer content
359 pub fn clear(&mut self) {

Callers 3

should_discardMethod · 0.80
get_bufferMethod · 0.80
return_bufferMethod · 0.80

Calls 1

bufferMethod · 0.80

Tested by

no test coverage detected