Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for filterSnapshot (0.28 sec)

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

            when:
            def filtered = FileSystemSnapshotFilter.filterSnapshot(snapshottingFilter(include("**/*File*")).asSnapshotPredicate, unfiltered)
    
            then:
            filtered.is(unfiltered)
        }
    
        private Set<File> filteredPaths(FileSystemSnapshot unfiltered, PatternSet patterns) {
            def result = [] as Set
            def filtered = FileSystemSnapshotFilter.filterSnapshot(snapshottingFilter(patterns).asSnapshotPredicate, unfiltered)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:34:50 UTC 2023
    - 5.3K bytes
    - Viewed (0)
  2. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/history/impl/OutputSnapshotUtil.java

            Map<String, FileSystemLocationSnapshot> previousIndex = indexByAbsolutePath(previous);
            return filterSnapshot(current, (currentSnapshot, isRoot) ->
                // Include only outputs that we already considered outputs after the previous execution
                previousIndex.containsKey(currentSnapshot.getAbsolutePath())
            );
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:46:15 UTC 2023
    - 11.9K bytes
    - Viewed (0)
  3. platforms/core-execution/snapshots/src/main/java/org/gradle/internal/vfs/impl/DefaultFileSystemAccess.java

                return Optional.of(read(location));
            } else {
                FileSystemSnapshot filteredSnapshot = readSnapshotFromLocation(location,
                    snapshot -> FileSystemSnapshotFilter.filterSnapshot(filter.getAsSnapshotPredicate(), snapshot),
                    () -> {
                        FileSystemLocationSnapshot snapshot = snapshot(location, filter);
                        return snapshot.getType() == FileType.Directory
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 16:02:35 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  4. platforms/core-execution/snapshots/src/main/java/org/gradle/internal/snapshot/impl/FileSystemSnapshotFilter.java

    public class FileSystemSnapshotFilter {
    
        private FileSystemSnapshotFilter() {
        }
    
        public static FileSystemSnapshot filterSnapshot(SnapshottingFilter.FileSystemSnapshotPredicate predicate, FileSystemSnapshot unfiltered) {
            DirectorySnapshotBuilder builder = MerkleDirectorySnapshotBuilder.noSortingRequired();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:34:50 UTC 2023
    - 4.8K bytes
    - Viewed (0)
Back to top