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

Function manifest

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

507
508 /// Build a manifest with a computed (consistent) state.
509 fn manifest(
510 name: &str,
511 scope: ViewScope,
512 parent: Option<&str>,
513 changes: Vec<Hash>,
514 ) -> ViewManifest {
515 ViewManifest::new(name, scope, parent.map(str::to_string), changes)
516 }
517
518 /// Parent lookup backed by a map, for pure chain tests.
519 fn parents(

Calls

no outgoing calls