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

Method execute_with_repo

atomic-cli/src/commands/view/split.rs:143–148  ·  view source on GitHub ↗
(&self, repo: &mut Repository, confirm: F)

Source from the content-addressed store, hash-verified

141
142impl Split {
143 fn execute_with_repo<F>(&self, repo: &mut Repository, confirm: F) -> CliResult<()>
144 where
145 F: FnOnce(&str) -> CliResult<bool>,
146 {
147 self.execute_with_repo_gated(repo, false, confirm)
148 }
149
150 /// Plan the split: resolve the source view and the change set.
151 fn plan(&self, repo: &Repository) -> CliResult<(WorkingCopyId, String, SplitOptions)> {

Calls 1