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

Method to_canonical_bytes

atomic-core/src/operation/mod.rs:364–366  ·  view source on GitHub ↗

Encode the payload using the strict canonical format.

(&self)

Source from the content-addressed store, hash-verified

362
363 /// Encode the payload using the strict canonical format.
364 pub fn to_canonical_bytes(&self) -> Result<Vec<u8>, OperationCodecError> {
365 encode_operation(self)
366 }
367}
368
369/// Repository state observed before or selected after an operation.

Callers 2

run_asyncMethod · 0.45
push_changes_implFunction · 0.45

Calls 2

encode_operationFunction · 0.85
encode_effect_receiptFunction · 0.85

Tested by

no test coverage detected