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

Function endpoint

atomic-core/src/kg/legacy.rs:44–50  ·  view source on GitHub ↗
(from: &'static str, to: &'static str, predicate: Predicate)

Source from the content-addressed store, hash-verified

42 One(Target::Removed { reason })
43}
44const fn endpoint(from: &'static str, to: &'static str, predicate: Predicate) -> EndpointRule {
45 EndpointRule {
46 from_kind: Some(from),
47 to_kind: Some(to),
48 target: Target::Predicate(predicate),
49 }
50}
51const INTENT: Replacement = ClassWithRefinement {
52 base: C::WorkIntent,
53 refinements: &[

Callers 1

legacy.rsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected