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

Function manifest_state

libatomic/src/daemon/services_sync_remote.rs:407–413  ·  view source on GitHub ↗
(view: &str, manifest: &ViewManifest)

Source from the content-addressed store, hash-verified

405}
406
407fn manifest_state(view: &str, manifest: &ViewManifest) -> ManifestState {
408 ManifestState {
409 view: view.to_string(),
410 state: manifest.state.to_base32(),
411 change_count: manifest.changes.len() as u64,
412 }
413}
414
415/// One planned view: the wire report plus the (possibly leaf-renamed)
416/// local manifest the sync phase declares.

Callers 1

push_changes_implFunction · 0.85

Calls 2

to_base32Method · 0.45
lenMethod · 0.45

Tested by

no test coverage detected