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

Function attestation_for

atomic-cli/src/commands/sidecars.rs:175–182  ·  view source on GitHub ↗

A minimal attestation covering `change`.

(change: Hash)

Source from the content-addressed store, hash-verified

173
174 /// A minimal attestation covering `change`.
175 fn attestation_for(change: Hash) -> Attestation {
176 Attestation::builder(
177 "session-sidecar",
178 AttestAgent::new("opencode", "OpenCode", "atomic"),
179 )
180 .add_change(change)
181 .build()
182 }
183
184 fn pack_with(objects: Vec<ObjectRecord>) -> SyncPack {
185 SyncPack {

Calls 2

buildMethod · 0.45
add_changeMethod · 0.45