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

Method new

atomic-repository/src/apply/cross_view.rs:59–69  ·  view source on GitHub ↗

Create new cross-view insert options. # Arguments `from_view` - Source view name `to_view` - Target view name

(from_view: impl Into<String>, to_view: impl Into<String>)

Source from the content-addressed store, hash-verified

57 /// * `from_view` - Source view name
58 /// * `to_view` - Target view name
59 pub fn new(from_view: impl Into<String>, to_view: impl Into<String>) -> Self {
60 Self {
61 from_view: from_view.into(),
62 to_view: to_view.into(),
63 up_to_tag: None,
64 only_changes: Vec::new(),
65 apply_dependencies: true,
66 allow_conflicts: false,
67 dry_run: false,
68 }
69 }
70
71 /// Limit changes to those up to and including a tag.
72 pub fn up_to_tag(mut self, tag: impl Into<String>) -> Self {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected