Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. 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)
  2. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheProblemReportingIntegrationTest.groovy

            run(ENABLE_CLI_OPT, '--info', 'doIt')
    
            then:
            reportDir.isDirectory()
    
            def reportLocationShown = resolveConfigurationCacheReport(testDirectory.file('out'), output)
            reportDir.isDescendant(reportLocationShown)
        }
    
        def "link to report is logged as warning when there are no-CC problems if internal option is used"() {
            def reportDir = testDirectory.file('out/reports/configuration-cache')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 56.7K 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