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

Function encode

libatomic/src/review/graph.rs:28–30  ·  view source on GitHub ↗
(value: &impl serde::Serialize)

Source from the content-addressed store, hash-verified

26}
27
28fn encode(value: &impl serde::Serialize) -> Value {
29 serde_json::to_value(value).expect("review graph types are serializable")
30}
31
32fn local_id(kind: &str, value: &impl serde::Serialize) -> String {
33 format!(

Callers 3

projectFunction · 0.70
project_checksFunction · 0.70
project_metricsFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected