Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 29 for childPath (0.15 sec)

  1. platforms/core-execution/snapshots/src/test/groovy/org/gradle/internal/snapshot/AbstractFileSystemNodeWithChildrenTest.groovy

            childPaths.collect { childPath ->
                def firstSlash = childPath.indexOf('/')
                String newChildPath = firstSlash > -1
                    ? "${childPath.substring(0, firstSlash)}0${childPath.substring(firstSlash)}"
                    : "${childPath}0"
                new VirtualFileSystemTestSpec(childPaths, newChildPath, null)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:34:50 UTC 2023
    - 9.3K bytes
    - Viewed (0)
  2. platforms/core-execution/snapshots/src/main/java/org/gradle/internal/snapshot/ChildMap.java

                RESULT handleAsDescendantOfChild(VfsRelativePath targetPath, String childPath, T child);
                RESULT handleAsAncestorOfChild(VfsRelativePath targetPath, String childPath, T child);
                RESULT handleExactMatchWithChild(VfsRelativePath targetPath, String childPath, T child);
                RESULT handleSiblingOfChild(VfsRelativePath targetPath, String childPath, T child, int commonPrefixLength);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 23 13:19:32 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  3. platforms/core-execution/snapshots/src/main/java/org/gradle/internal/snapshot/AbstractStorePathRelationshipHandler.java

            T newChild = handler.handleAsDescendantOfChild(targetPath.pathFromChild(childPath), child);
            return withReplacedChild(newChild);
        }
    
        @Override
        public ChildMap<T> handleAsAncestorOfChild(VfsRelativePath targetPath, String childPath, T child) {
            T newChild = handler.handleAsAncestorOfChild(childPath, child);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:34:50 UTC 2023
    - 3K bytes
    - Viewed (0)
  4. subprojects/core-api/src/test/groovy/org/gradle/api/file/RelativePathTest.java

        public void appendPath() {
            RelativePath childPath = new RelativePath(false, "one", "two").append(new RelativePath(true, "three", "four"));
            assertPathContains(childPath, true, "one", "two", "three", "four");
    
            childPath = new RelativePath(false, "one", "two").append(new RelativePath(true));
            assertPathContains(childPath, true, "one", "two");
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Apr 29 15:31:00 UTC 2023
    - 8.4K bytes
    - Viewed (0)
  5. platforms/core-runtime/launcher/src/main/java/org/gradle/tooling/internal/provider/continuous/BuildInputHierarchy.java

                this.spec = spec;
            }
    
            @Override
            public boolean contains(VfsRelativePath childPath) {
                return matcher.elementWithRelativePathMatches(spec, new File(childPath.getAbsolutePath()), childPath.getAsString());
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  6. platforms/core-execution/snapshots/src/test/groovy/org/gradle/internal/snapshot/VfsRelativePathTest.groovy

            ""           | ""    | ""
        }
    
        def "'#relativePath / #offset' #verb a prefix of '#childPath'"() {
            expect:
            VfsRelativePath.of(relativePath, offset).isPrefixOf(childPath, CASE_SENSITIVE) == result
    
            where:
            relativePath | offset         | childPath | result
            "a/b"        | "a/".length()  | "a"       | false
            "a/b"        | "a/b".length() | "c"       | true
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:34:50 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  7. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/inspect/StructNodeInitializer.java

            ModelPath childPath = modelNode.getPath().child(property.getName());
            if (propertySchema instanceof ManagedImplSchema) {
                if (!property.isWritable() || propertySchema instanceof ScalarCollectionSchema) {
                    ModelRegistrations.Builder builder = managedRegistrationBuilder(childPath, property, nodeInitializerRegistry, publicType);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 9.7K bytes
    - Viewed (0)
  8. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/registry/ModelElementNode.java

            ModelPath childPath = child.getPath();
            if (!getPath().isDirectChild(childPath)) {
                throw new IllegalArgumentException(String.format("Element registration has a path (%s) which is not a child of this node (%s).", childPath, getPath()));
            }
    
            ModelNodeInternal currentChild = links == null ? null : links.get(childPath.getName());
            if (currentChild != null) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 06 21:54:37 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  9. platforms/software/resources/src/main/java/org/gradle/internal/resource/ExternalResourceName.java

            String parentPath = extractPath(parent);
            String childPath = path.startsWith("/") ? path.substring(1) : path;
            if (childPath.length() == 0) {
                return parentPath;
            } else if (parentPath.endsWith("/")) {
                return parentPath + childPath;
            } else {
                return parentPath + "/" + childPath;
            }
        }
    
        private static boolean isFileOnHost(URI uri) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 26 14:58:23 UTC 2024
    - 10K bytes
    - Viewed (0)
  10. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultInheritanceAssembler.java

            Map<Object, Object> hints = new HashMap<>();
            String childPath = child.getProperties().getOrDefault(CHILD_DIRECTORY_PROPERTY, child.getArtifactId());
            hints.put(CHILD_DIRECTORY, childPath);
            hints.put(MavenModelMerger.CHILD_PATH_ADJUSTMENT, getChildPathAdjustment(child, parent, childPath));
            return merger.merge(child, parent, false, hints);
        }
    
        /**
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 13.8K bytes
    - Viewed (0)
Back to top