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

Function open_buffered

nodedb-wal/src/double_write.rs:482–484  ·  view source on GitHub ↗
(path: &Path)

Source from the content-addressed store, hash-verified

480 use crate::record::RecordType;
481
482 fn open_buffered(path: &Path) -> DoubleWriteBuffer {
483 DoubleWriteBuffer::open(path, DwbMode::Buffered).unwrap()
484 }
485
486 #[test]
487 fn write_and_recover() {

Callers 7

write_and_recoverFunction · 0.85
survives_reopenFunction · 0.85
flush_is_idempotentFunction · 0.85
recover_after_wraparoundFunction · 0.85

Calls 1

openFunction · 0.50

Tested by 7

write_and_recoverFunction · 0.68
survives_reopenFunction · 0.68
flush_is_idempotentFunction · 0.68
recover_after_wraparoundFunction · 0.68