- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for pathElements (0.35 sec)
-
platforms/software/dependency-management/src/testFixtures/groovy/org/gradle/integtests/fixtures/publish/RemoteRepositorySpec.groovy
* would create 'org:foo:1.0' depending on 'org:bar:2.0' depending on `baz:1.0' * @param pathSpec */ void path(String pathSpec) { def pathElements = (pathSpec.split("\\s?->\\s?") as List<String>).reverse() def last = null pathElements.each { String spec -> def gav = spec.split(':') as List<String> if (gav.size()==1) { // name only
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 3.5K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/initialization/DefaultSettings.java
for (String projectPath : projectPaths) { String subPath = ""; String[] pathElements = removeTrailingColon(projectPath).split(":"); DefaultProjectDescriptor parentProjectDescriptor = rootProjectDescriptor; for (String pathElement : pathElements) { subPath = subPath + ":" + pathElement;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 18:31:24 UTC 2023 - 14.3K bytes - Viewed (0) -
subprojects/diagnostics/src/test/groovy/org/gradle/api/tasks/diagnostics/internal/insight/DependencyInsightReporterSpec.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Nov 22 04:22:29 UTC 2023 - 10.3K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/util/managedfields/internal/pathelement.go
return fieldpath.PathElement{}, err } return fieldpath.PathElement{ Value: &val, }, nil case Index: i, err := strconv.Atoi(split[1]) if err != nil { return fieldpath.PathElement{}, err } return fieldpath.PathElement{ Index: &i, }, nil case Key: kv := map[string]json.RawMessage{} err := json.Unmarshal([]byte(split[1]), &kv) if err != nil { return fieldpath.PathElement{}, err }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Mar 08 21:44:00 UTC 2023 - 3.3K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/util/managedfields/internal/fields_test.go
func TestSetToFieldsError(t *testing.T) { validName := "ok" invalidPath := fieldpath.Path([]fieldpath.PathElement{{}, {FieldName: &validName}}) tests := []struct { set fieldpath.Set errString string }{ { set: *fieldpath.NewSet(invalidPath), errString: "invalid PathElement", }, } for _, test := range tests { _, err := SetToFields(test.set)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Mar 08 21:44:00 UTC 2023 - 3.9K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/customresource_handler.go
splitReplicasPath := strings.Split(strings.TrimPrefix(subresources.Scale.SpecReplicasPath, "."), ".") for _, element := range splitReplicasPath { s := element path = append(path, fieldpath.PathElement{FieldName: &s}) } replicasPathInCustomResource[schema.GroupVersion{Group: crd.Spec.Group, Version: v.Name}.String()] = path } for _, v := range crd.Spec.Versions {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Feb 28 19:06:46 UTC 2024 - 52.9K bytes - Viewed (0)