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

Function canonicalize

atomic-wasm/src/lib.rs:105–107  ·  view source on GitHub ↗
(document: &str)

Source from the content-addressed store, hash-verified

103/// RFC 8785 canonical JSON of `document` — the bytes atomic hashes and signs.
104#[wasm_bindgen]
105pub fn canonicalize(document: &str) -> Result<String, JsError> {
106 Ok(jcs::canonicalize(&parse(document)?))
107}

Callers 15

checkout_journaledFunction · 0.50
same_dirFunction · 0.50
project_identity_hashFunction · 0.50
build_project_identityFunction · 0.50
verify_project_identityFunction · 0.50
discover_layoutFunction · 0.50
search_startFunction · 0.50
canonical_existingFunction · 0.50
resolve_metadata_pathFunction · 0.50
observe_raw_layersFunction · 0.50

Calls 1

parseFunction · 0.70