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

Method with_view

atomic-cli/src/commands/diff/command.rs:201–204  ·  view source on GitHub ↗

Builder: set the view to compare against.

(mut self, view: impl Into<String>)

Source from the content-addressed store, hash-verified

199
200 /// Builder: set the view to compare against.
201 pub fn with_view(mut self, view: impl Into<String>) -> Self {
202 self.view = Some(view.into());
203 self
204 }
205
206 /// Builder: show the active snapshot or remainder.
207 pub fn with_snapshot(mut self, snapshot: bool) -> Self {

Callers 1

test_diff_with_viewFunction · 0.45

Calls

no outgoing calls

Tested by 1

test_diff_with_viewFunction · 0.36