- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for newRepo (0.16 sec)
-
platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/repositories/DefaultIvyArtifactRepositoryTest.groovy
metadataSources.isIgnoreGradleMetadataRedirectionEnabled() } def "repositories have the same id when base url and other configuration is the same"() { def repo = newRepo() def same = newRepo() def different = newRepo() given: repo.url = new URI("http://localhost") same.url = new URI("http://localhost") different.url = new URI("http://localhost/repo")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 24K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/repositories/DefaultMavenArtifactRepositoryTest.groovy
metadataSources.isIgnoreGradleMetadataRedirectionEnabled() } def "repositories have the same id when base url and other configuration is the same"() { def repo = newRepo() def same = newRepo() def different = newRepo() given: repo.url = new URI("http://localhost") same.url = new URI("http://localhost") different.url = new URI("http://localhost/repo")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 14.6K bytes - Viewed (0) -
src/cmd/go/internal/modfetch/codehost/git_test.go
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/vcs.go
func vcsErrorf(format string, a ...any) error { return &VCSError{Err: fmt.Errorf(format, a...)} } type vcsCacheKey struct { vcs string remote string } func NewRepo(ctx context.Context, vcs, remote string) (Repo, error) { return vcsRepoCache.Do(vcsCacheKey{vcs, remote}, func() (Repo, error) { repo, err := newVCSRepo(ctx, vcs, remote) if err != nil { return nil, &VCSError{err} }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sun Apr 14 18:50:24 UTC 2024 - 17.3K bytes - Viewed (0) -
src/cmd/go/internal/modfetch/repo.go
if err != nil { return nil, err } return newCodeRepo(code, rr.Root, path) } func lookupCodeRepo(ctx context.Context, rr *vcs.RepoRoot) (codehost.Repo, error) { code, err := codehost.NewRepo(ctx, rr.VCS.Cmd, rr.Repo) if err != nil { if _, ok := err.(*codehost.VCSError); ok { return nil, err } return nil, fmt.Errorf("lookup %s: %v", rr.Root, err) } return code, nil }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 23 16:36:19 UTC 2023 - 15.2K bytes - Viewed (0) -
pkg/registry/discovery/endpointslice/strategy_test.go
Strategy.PrepareForUpdate(context.TODO(), tc.newEPS, tc.oldEPS) if !apiequality.Semantic.DeepEqual(tc.newEPS, tc.expectedEPS) { t.Errorf("Expected %+v\nGot: %+v", tc.expectedEPS, tc.newEPS) } }) } } func Test_dropTopologyOnV1(t *testing.T) { testcases := []struct { name string v1Request bool newEPS *discovery.EndpointSlice originalEPS *discovery.EndpointSlice
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 27.3K bytes - Viewed (0)