MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / path_claim

Function path_claim

atomic-core/src/pristine/txn/write/native_derived.rs:463–471  ·  view source on GitHub ↗
(change: NodeId, claimant: Position<NodeId>)

Source from the content-addressed store, hash-verified

461 }
462
463 fn path_claim(change: NodeId, claimant: Position<NodeId>) -> PathClaimEvent {
464 PathClaimEvent::new(
465 change,
466 0,
467 PathClaimKind::Directory,
468 PathClaimState::Alive,
469 PathClaimId::new(claimant, GraphNode::ROOT, node(change, 0, 8), change),
470 )
471 }
472
473 fn graph_rows(txn: &ReadTxn) -> Vec<(Vec<u8>, Vec<u8>)> {
474 let table = txn.txn.open_multimap_table(GRAPH).unwrap();

Calls 1

nodeFunction · 0.70