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

Method open_git_repo

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

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

(&self)

Source from the content-addressed store, hash-verified

2173
2174 /// Open a new git repository instance (for thread-local use).
2175 fn open_git_repo(&self) -> CliResult<GitRepository> {
2176 GitRepository::open(&self.git_repo_path).map_err(|e| CliError::GitError {
2177 message: format!("Failed to open git repository: {}", e),
2178 })
2179 }
2180
2181 fn path_ignored_for_import(&self, path: &str) -> bool {
2182 !self.ignore_matcher.is_empty() && self.ignore_matcher.matches(path)

Callers 1

import_branchMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected