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

Function manifest

atomic-cli/src/commands/clone/helpers.rs:1089–1096  ·  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

1087
1088 /// Build a manifest with a computed (consistent) state.
1089 fn manifest(
1090 name: &str,
1091 scope: ViewScope,
1092 parent: Option<&str>,
1093 changes: Vec<Hash>,
1094 ) -> ViewManifest {
1095 ViewManifest::new(name, scope, parent.map(String::from), changes)
1096 }
1097
1098 /// A leaf→root chain orders root→leaf for apply.
1099 #[test]

Calls

no outgoing calls