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

Function open_engine

nodedb/tests/bitemporal_array_gdpr.rs:56–60  ·  view source on GitHub ↗
(dir: &TempDir)

Source from the content-addressed store, hash-verified

54}
55
56fn open_engine(dir: &TempDir) -> ArrayEngine {
57 let mut e = ArrayEngine::new(ArrayEngineConfig::new(dir.path().to_path_buf())).unwrap();
58 e.open_array(aid(), schema(), SCHEMA_HASH).unwrap();
59 e
60}
61
62fn open_engine_with_threshold(dir: &TempDir, flush_threshold: usize) -> ArrayEngine {
63 let mut cfg = ArrayEngineConfig::new(dir.path().to_path_buf());

Callers 1

Calls 4

open_arrayMethod · 0.80
aidFunction · 0.70
schemaFunction · 0.70
pathMethod · 0.45

Tested by

no test coverage detected