Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 63 for IsRoot (0.16 sec)

  1. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/history/impl/OutputSnapshotUtil.java

                isOutputEntry(previousIndex.keySet(), beforeExecutionIndex, afterExecutionSnapshot, isRoot)
            );
        }
    
        private static boolean isOutputEntry(Set<String> previousLocations, Map<String, FileSystemLocationSnapshot> beforeExecutionSnapshots, FileSystemLocationSnapshot afterExecutionSnapshot, Boolean isRoot) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:46:15 UTC 2023
    - 11.9K bytes
    - Viewed (0)
  2. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/generator/TestProjectGenerator.groovy

            file projectDir, "pom.xml", fileContentGenerator.generatePomXML(subProjectNumber, dependencyTree)
            file projectDir, "BUILD.bazel", bazelContentGenerator.generateBuildFile(subProjectNumber, dependencyTree)
            if (isRoot) {
                file projectDir, "WORKSPACE", bazelContentGenerator.generateWorkspace()
                file projectDir, "junit.bzl", bazelContentGenerator.generateJunitHelper()
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  3. platforms/core-execution/snapshots/src/main/java/org/gradle/internal/snapshot/RootTrackingFileSystemSnapshotHierarchyVisitor.java

         */
        public void enterDirectory(DirectorySnapshot directorySnapshot, boolean isRoot) {}
    
        /**
         * Called for each regular file/directory/missing/unavailable file.
         *
         * @return how to continue visiting the rest of the snapshot hierarchy.
         */
        public abstract SnapshotVisitResult visitEntry(FileSystemLocationSnapshot snapshot, boolean isRoot);
    
        /**
         * Called after all entries in the directory has been visited.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:34:50 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  4. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/generator/FileContentGenerator.groovy

                .join("\n        ")}
            """
        }
    
        String generateBuildGradle(Language language, Integer subProjectNumber, DependencyTree dependencyTree) {
            def isRoot = subProjectNumber == null
            if (isRoot && config.subProjects > 0) {
                if (config.compositeBuild) {
                    return """
                    ${createTaskThatDependsOnAllIncludedBuildsTaskWithSameName('clean')}
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  5. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/history/impl/FileSystemSnapshotSerializer.java

                @Override
                public void enterDirectory(DirectorySnapshot directorySnapshot, boolean isRoot) {
                    try {
                        writeEntryType(encoder, EntryType.DIR_OPEN);
                        writePath(encoder, isRoot, directorySnapshot);
                    } catch (IOException e) {
                        throw new UncheckedIOException(e);
                    }
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 26 15:45:55 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  6. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/generator/DeclarativeDslTestProjectGenerator.groovy

            }
        }
    
        def generateProject(File projectDir, Integer subProjectNumber) {
            def isRoot = subProjectNumber == null
    
            file projectDir, KOTLIN.fileNameFor('settings'), generateSettingsGradle(isRoot)
            file projectDir, "gradle.properties", generateGradleProperties(isRoot)
    
            file projectDir, config.dsl.fileNameFor('build'), generateBuildGradle(subProjectNumber)
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat May 11 07:05:10 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  7. platforms/core-execution/snapshots/src/main/java/org/gradle/internal/fingerprint/impl/MissingRootAndDuplicateIgnoringFileSystemSnapshotVisitor.java

        @Override
        public final SnapshotVisitResult visitEntry(FileSystemLocationSnapshot snapshot, boolean isRoot) {
            if (!(snapshot.getType() == FileType.Missing && isRoot) && processedEntries.add(snapshot.getAbsolutePath())) {
                visitAcceptedEntry(snapshot, isRoot);
            }
            return SnapshotVisitResult.CONTINUE;
        }
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:34:50 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  8. subprojects/core/src/main/java/org/gradle/api/internal/tasks/BaseSnapshotInputsBuildOperationResult.java

            }
    
            public void preRoot(STATE state) {
    
            }
    
            public void preDirectory(STATE state) {
                boolean isRoot = dirStack.isEmpty();
                DirEntry dir = new DirEntry(isRoot ? state.getPath() : state.getName());
                if (isRoot) {
                    property.roots.add(dir);
                } else {
                    //noinspection ConstantConditions
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Feb 05 11:36:42 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  9. platforms/core-execution/snapshots/src/testFixtures/groovy/org/gradle/internal/snapshot/SnapshotVisitorUtil.groovy

            snapshot.accept(new RootTrackingFileSystemSnapshotHierarchyVisitor() {
                @Override
                SnapshotVisitResult visitEntry(FileSystemLocationSnapshot entrySnapshot, boolean isRoot) {
                    if (includeRoots || !isRoot) {
                        absolutePaths << entrySnapshot.absolutePath
                    }
                    CONTINUE
                }
            })
            return absolutePaths
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:34:50 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  10. platforms/core-execution/build-cache-packaging/src/main/java/org/gradle/caching/internal/packaging/impl/TarBuildCacheEntryPacker.java

                boolean isRoot = relativePath.isRoot();
                String targetPath = getTargetPath(relativePath);
                snapshot.accept(new FileSystemLocationSnapshotVisitor() {
                    @Override
                    public void visitDirectory(DirectorySnapshot directorySnapshot) {
                        assertCorrectType(isRoot, snapshot);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 02 07:31:19 UTC 2024
    - 19.5K bytes
    - Viewed (0)
Back to top