- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for localGitRepo (0.21 sec)
-
src/cmd/go/internal/modfetch/codehost/git_test.go
_, localGitURLErr = Run(context.Background(), "", "git", "clone", "--mirror", gitrepo1, localGitRepo) if localGitURLErr != nil { return } _, localGitURLErr = Run(context.Background(), localGitRepo, "git", "config", "daemon.uploadarch", "true") }) if localGitURLErr != nil { t.Fatal(localGitURLErr) } // Convert absolute path to file URL. LocalGitRepo will not accept // Windows absolute paths because they look like a host:path remote.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Dec 14 19:46:23 UTC 2023 - 18.9K bytes - Viewed (0) -
src/cmd/go/internal/modfetch/codehost/git.go
"cmd/go/internal/base" "cmd/go/internal/lockedfile" "cmd/go/internal/par" "cmd/go/internal/web" "golang.org/x/mod/semver" ) // LocalGitRepo is like Repo but accepts both Git remote references // and paths to repositories on the local file system. func LocalGitRepo(ctx context.Context, remote string) (Repo, error) { return newGitRepoCached(ctx, remote, true) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 11 22:10:38 UTC 2024 - 27.4K bytes - Viewed (0)