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

Function open_engine

nodedb/tests/bitemporal_array_truncation_flag.rs:48–52  ·  view source on GitHub ↗
(dir: &TempDir)

Source from the content-addressed store, hash-verified

46}
47
48fn open_engine(dir: &TempDir) -> ArrayEngine {
49 let mut e = ArrayEngine::new(ArrayEngineConfig::new(dir.path().to_path_buf())).unwrap();
50 e.open_array(aid(), schema(), SCHEMA_HASH).unwrap();
51 e
52}
53
54fn put_cell(e: &mut ArrayEngine, x: i64, v: i64, sys: i64, lsn: u64) {
55 e.put_cells(

Calls 4

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

Tested by

no test coverage detected