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

Function context

atomic-repository/src/intent_evidence.rs:428–446  ·  view source on GitHub ↗
(node: &CanonicalNode)

Source from the content-addressed store, hash-verified

426 }
427
428 fn context(node: &CanonicalNode) -> EvidenceContext {
429 EvidenceContext {
430 intent_id: node.id.clone(),
431 intent_substance_hash: intent_substance_hash(node),
432 intent_source_hash: "blake3:source-inputs".into(),
433 view_chain: vec![
434 EvidenceViewPin {
435 name: "dev".into(),
436 merkle: "CURRENT".into(),
437 scope: "draft".into(),
438 },
439 EvidenceViewPin {
440 name: "main".into(),
441 merkle: "PARENT".into(),
442 scope: "shared".into(),
443 },
444 ],
445 }
446 }
447
448 fn manifest(node: &CanonicalNode) -> Manifest {
449 Manifest {

Callers 14

build_hunks_from_diffFunction · 0.85
test_diff_hunk_add_lineFunction · 0.85
test_hunk_line_contextFunction · 0.85
test_hunk_line_displayFunction · 0.85
sample_file_diffFunction · 0.85
hunks_from_changed_linesFunction · 0.85
build_hunks_from_diffFunction · 0.85
manifestFunction · 0.85

Calls 2

intent_substance_hashFunction · 0.85
cloneMethod · 0.45