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

Method open_git_repo

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

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

(&self)

Source from the content-addressed store, hash-verified

2104
2105 /// Open a new git repository instance (for thread-local use).
2106 fn open_git_repo(&self) -> CliResult<GitRepository> {
2107 GitRepository::open(&self.git_repo_path).map_err(|e| CliError::GitError {
2108 message: format!("Failed to open git repository: {}", e),
2109 })
2110 }
2111
2112 fn path_ignored_for_import(&self, path: &str) -> bool {
2113 !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