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

Function manifest

atomic-cli/src/commands/push/helpers.rs:520–527  ·  view source on GitHub ↗

Build a manifest with a computed (consistent) state.

(
        name: &str,
        scope: ViewScope,
        parent: Option<&str>,
        changes: Vec<Hash>,
    )

Source from the content-addressed store, hash-verified

518
519 /// Build a manifest with a computed (consistent) state.
520 fn manifest(
521 name: &str,
522 scope: ViewScope,
523 parent: Option<&str>,
524 changes: Vec<Hash>,
525 ) -> ViewManifest {
526 ViewManifest::new(name, scope, parent.map(str::to_string), changes)
527 }
528
529 /// Parent lookup backed by a map, for pure chain tests.
530 fn parents(

Calls

no outgoing calls