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

Method new

atomic-repository/src/repository/split.rs:89–98  ·  view source on GitHub ↗

Create options to split `changes` out of the current view into `target_view`.

(target_view: impl Into<String>, changes: Vec<Hash>)

Source from the content-addressed store, hash-verified

87 /// Create options to split `changes` out of the current view into
88 /// `target_view`.
89 pub fn new(target_view: impl Into<String>, changes: Vec<Hash>) -> Self {
90 Self {
91 target_view: target_view.into(),
92 from_view: None,
93 changes,
94 cascade: false,
95 dry_run: false,
96 materialize: false,
97 }
98 }
99}
100
101/// A single change involved in a split, paired with its sequence in the source.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected