Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for isDescendant (0.14 sec)

  1. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/core/ModelPath.java

                return false;
            }
            ModelPath otherParent = other.getParent();
            return otherParent != null && otherParent.equals(this);
        }
    
        public boolean isDescendant(@Nullable ModelPath other) {
            if (other == null) {
                return false;
            }
    
            int length = components.length;
            if (other.components.length <= components.length) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 11.2K bytes
    - Viewed (0)
  2. testing/internal-testing/src/main/groovy/org/gradle/test/fixtures/file/TestFile.java

        }
    
        public boolean isSelfOrDescendant(File file) {
            if (file.getAbsolutePath().equals(getAbsolutePath())) {
                return true;
            }
            return isDescendant(file);
        }
    
        public boolean isDescendant(File file) {
            return file.getAbsolutePath().startsWith(getAbsolutePath() + File.separatorChar);
        }
    
        public TestFile createDir() {
            if (mkdirs()) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 18:31:52 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/registry/DefaultModelRegistry.java

                    ModelReferenceNode referenceNode = (ModelReferenceNode) node;
                    ModelNodeInternal target = referenceNode.getTarget();
                    if (target == null || target.getPath().isDescendant(node.getPath())) {
                        // No target, or target is an ancestor of this node, so is already being handled
                        return true;
                    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 15:40:00 UTC 2024
    - 45.7K bytes
    - Viewed (0)
Back to top