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

Method kg_project

atomic-core/src/pristine/txn/write/session_kg.rs:19–26  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

17
18impl WriteTxn<'_> {
19 pub fn kg_project(&self) -> PristineResult<ProjectId> {
20 self.project_identity()?
21 .ok_or(PristineError::MissingProjectIdentity)?
22 .project_id()
23 .map_err(|e| PristineError::Serialization {
24 message: e.to_string(),
25 })
26 }
27
28 /// Resolve a plan through authoritative manifest identity; a raw label is
29 /// insufficient evidence to invent a canonical intent resource.

Callers 14

kg_intent_idMethod · 0.80
kg_findingMethod · 0.80
kg_clear_findingMethod · 0.80
clear_session_turn_kgMethod · 0.80
emit_session_nodeMethod · 0.80
emit_turn_kgMethod · 0.80
project_session_kgMethod · 0.80
emit_session_fork_kgMethod · 0.80
rebuild_kgMethod · 0.80
project_change_kgMethod · 0.80

Calls 2

project_identityMethod · 0.80
project_idMethod · 0.45

Tested by 1