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

Function cat

nodedb/src/control/cascade/sequences.rs:51–55  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

49 use tempfile::TempDir;
50
51 fn cat() -> (SystemCatalog, TempDir) {
52 let tmp = TempDir::new().unwrap();
53 let cat = SystemCatalog::open(&tmp.path().join("system.redb")).unwrap();
54 (cat, tmp)
55 }
56
57 fn seq(tenant: u64, name: &str) -> StoredSequence {
58 StoredSequence::new(tenant, name.to_string(), "o".into())

Callers 3

skips_cross_tenantFunction · 0.70
ignores_non_seq_suffixFunction · 0.70

Calls 3

joinMethod · 0.80
openFunction · 0.50
pathMethod · 0.45

Tested by 3

skips_cross_tenantFunction · 0.56
ignores_non_seq_suffixFunction · 0.56