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

Method execute_with_repo

atomic-cli/src/commands/view/delete.rs:168–173  ·  view source on GitHub ↗
(&self, repo: &mut Repository, name: &str, confirm: F)

Source from the content-addressed store, hash-verified

166
167impl Delete {
168 fn execute_with_repo<F>(&self, repo: &mut Repository, name: &str, confirm: F) -> CliResult<()>
169 where
170 F: FnOnce(&str) -> CliResult<bool>,
171 {
172 self.execute_with_repo_gated(repo, name, false, confirm)
173 }
174
175 /// Validations that must hold on every path, plus (optionally) the
176 /// orphan warning and acknowledgement prompt.

Calls 1