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

Function manifest

atomic-cli/src/commands/push/helpers.rs:563–570  ·  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

561
562 /// Build a manifest with a computed (consistent) state.
563 fn manifest(
564 name: &str,
565 scope: ViewScope,
566 parent: Option<&str>,
567 changes: Vec<Hash>,
568 ) -> ViewManifest {
569 ViewManifest::new(name, scope, parent.map(str::to_string), changes)
570 }
571
572 /// Parent lookup backed by a map, for pure chain tests.
573 fn parents(

Calls

no outgoing calls