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

Method new

atomic-repository/src/repository/snapshot_split.rs:46–53  ·  view source on GitHub ↗
(entries: Vec<IndexManifestEntry>)

Source from the content-addressed store, hash-verified

44
45impl IndexManifest {
46 pub fn new(entries: Vec<IndexManifestEntry>) -> Self {
47 Self {
48 version: INDEX_MANIFEST_VERSION,
49 entries,
50 index_message: "Record staged snapshot selection".to_string(),
51 remainder_message: "Retain unstaged snapshot remainder".to_string(),
52 }
53 }
54}
55
56#[derive(Clone, Debug, PartialEq, Eq)]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected