Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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]
105
pub fn canonicalize(document: &str) -> Result<String, JsError> {
106
Ok(jcs::canonicalize(&parse(document)?))
107
}
Callers
15
checkout_journaled
Function · 0.50
same_dir
Function · 0.50
try_lock_git_import_preflight
Method · 0.50
project_identity_hash
Function · 0.50
build_project_identity
Function · 0.50
verify_project_identity
Function · 0.50
signed_identity_hash_and_proof_are_independently_verified
Function · 0.50
discover_layout
Function · 0.50
search_start
Function · 0.50
canonical_existing
Function · 0.50
resolve_metadata_path
Function · 0.50
observe_raw_layers
Function · 0.50
Calls
1
parse
Function · 0.70
Tested by
6
signed_identity_hash_and_proof_are_independently_verified
Function · 0.40
recovery_handles_current_new_without_original_receipt
Function · 0.40
linked_worktrees_share_common_lock_path_and_use_distinct_working_copy_locks
Function · 0.40
init_writes_canonical_identity_record_and_reopens_stably
Function · 0.40
test_to_relative
Function · 0.40
test_to_absolute
Function · 0.40