MCPcopy Create free account
hub / github.com/GCWing/BitFun / resolve_remote_git_target

Function resolve_remote_git_target

src/apps/desktop/src/api/git_api.rs:33–39  ·  view source on GitHub ↗
(repository_path: &str)

Source from the content-addressed store, hash-verified

31}
32
33async fn resolve_remote_git_target(repository_path: &str) -> Option<RemoteGitTarget> {
34 let entry = lookup_remote_connection(repository_path).await?;
35 Some(RemoteGitTarget {
36 connection_id: entry.connection_id,
37 repository_path: normalize_remote_workspace_path(repository_path),
38 })
39}
40
41fn shell_quote(value: &str) -> String {
42 if value

Callers 15

git_is_repositoryFunction · 0.85
git_get_repositoryFunction · 0.85
git_get_repository_basicFunction · 0.85
git_get_statusFunction · 0.85
git_get_branchesFunction · 0.85
git_get_commitsFunction · 0.85
git_add_filesFunction · 0.85
git_commitFunction · 0.85
git_pushFunction · 0.85
git_pullFunction · 0.85
git_checkout_branchFunction · 0.85

Calls 2

lookup_remote_connectionFunction · 0.85

Tested by

no test coverage detected