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

Function open_engine

nodedb/tests/bitemporal_array_basic.rs:53–57  ·  view source on GitHub ↗
(dir: &TempDir)

Source from the content-addressed store, hash-verified

51}
52
53fn open_engine(dir: &TempDir) -> ArrayEngine {
54 let mut e = ArrayEngine::new(ArrayEngineConfig::new(dir.path().to_path_buf())).unwrap();
55 e.open_array(aid(), schema(), SCHEMA_HASH).unwrap();
56 e
57}
58
59fn put_cell(e: &mut ArrayEngine, x: i64, v: i64, sys: i64, vf: i64, vu: i64, lsn: u64) {
60 e.put_cells(

Calls 4

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

Tested by

no test coverage detected