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

Function change_bytes

libatomic/src/daemon/sandbox_wire.rs:332–334  ·  view source on GitHub ↗

Full change bytes for GetChange, sharing the sandbox envelope version policy.

(bytes: Vec<u8>)

Source from the content-addressed store, hash-verified

330
331/// Full change bytes for GetChange, sharing the sandbox envelope version policy.
332pub fn change_bytes(bytes: Vec<u8>) -> pb::VersionedBytes {
333 versioned(change_schema(&bytes), bytes)
334}
335
336/// Wrap already-produced change bytes without conversion or validation. The
337/// recipient must validate the payload and claimed identity before storing it.

Callers 1

get_change_implFunction · 0.70

Calls 2

versionedFunction · 0.85
change_schemaFunction · 0.85

Tested by

no test coverage detected