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

Method open_git_repo

atomic-cli/src/commands/git/parallel.rs:4236–4240  ·  view source on GitHub ↗

Open a new git repository instance (for thread-local use).

(&self)

Source from the content-addressed store, hash-verified

4234
4235 /// Open a new git repository instance (for thread-local use).
4236 fn open_git_repo(&self) -> CliResult<GitRepository> {
4237 GitRepository::open(&self.git_repo_path).map_err(|e| CliError::GitError {
4238 message: format!("Failed to open git repository: {}", e),
4239 })
4240 }
4241
4242 pub(crate) fn validate_branch_prospectively(
4243 &self,

Callers 5

graph_stream_inputsMethod · 0.80
import_prevalidatedMethod · 0.80
phase2_writeMethod · 0.80

Calls 1

openFunction · 0.85

Tested by

no test coverage detected