DefaultFileSystemSnapshotterTest.groovy

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Use Consumer<FileSystemLocationSnapshot> in VFS

This makes sure that the file system snapshot is consumed and all the

files are read with the VFS aware of it while simplifying the API

quite a bit.

    • -1
    • +3
    ./DefaultFileSystemSnapshotterTest.groovy
  1. … 25 more files in changeset.
Use Consumer<FileSystemLocationSnapshot> in VFS

This makes sure that the file system snapshot is consumed and all the

files are read with the VFS aware of it while simplifying the API

quite a bit.

    • -1
    • +3
    ./DefaultFileSystemSnapshotterTest.groovy
  1. … 25 more files in changeset.
Simplify FileSystemMirror

    • -2
    • +1
    ./DefaultFileSystemSnapshotterTest.groovy
  1. … 5 more files in changeset.
Simplify FileSystemMirror

    • -2
    • +1
    ./DefaultFileSystemSnapshotterTest.groovy
  1. … 5 more files in changeset.
Simplify FileSystemMirror

    • -2
    • +1
    ./DefaultFileSystemSnapshotterTest.groovy
  1. … 5 more files in changeset.
Simplify FileSystemMirror

    • -2
    • +1
    ./DefaultFileSystemSnapshotterTest.groovy
  1. … 5 more files in changeset.
Fail on registering invalid outputs

    • -1
    • +1
    ./DefaultFileSystemSnapshotterTest.groovy
  1. … 2 more files in changeset.
Fail on registering invalid outputs

    • -1
    • +1
    ./DefaultFileSystemSnapshotterTest.groovy
  1. … 2 more files in changeset.
Do not keep reference to Stat in SnapshottingFilter

    • -2
    • +3
    ./DefaultFileSystemSnapshotterTest.groovy
  1. … 15 more files in changeset.
Rename FileSystemSnapshotVisitor.{visit -> visitFile} (#9858)

So it is more obvious that directory snapshots are not passed into this

method.

    • -3
    • +3
    ./DefaultFileSystemSnapshotterTest.groovy
  1. … 24 more files in changeset.
TODO

    • -1
    • +0
    ./DefaultFileSystemSnapshotterTest.groovy
  1. … 45 more files in changeset.
Split FileType into SnapshotFileType and FingerprintFileType

    • -5
    • +5
    ./DefaultFileSystemSnapshotterTest.groovy
  1. … 44 more files in changeset.
Split FileType into SnapshotFileType and FingerprintFileType

    • -5
    • +5
    ./DefaultFileSystemSnapshotterTest.groovy
  1. … 44 more files in changeset.
TODO

    • -5
    • +5
    ./DefaultFileSystemSnapshotterTest.groovy
  1. … 45 more files in changeset.
Split FileType into SnapshotFileType and FingerprintFileType

    • -5
    • +5
    ./DefaultFileSystemSnapshotterTest.groovy
  1. … 45 more files in changeset.
Rename FileSystemSnapshotVisitor.{visit -> visitFile}

So it is more obvious that directory snapshots are not passed into this

method.

    • -3
    • +3
    ./DefaultFileSystemSnapshotterTest.groovy
  1. … 23 more files in changeset.
Track file length in file snapshot as well

    • -1
    • +3
    ./DefaultFileSystemSnapshotterTest.groovy
  1. … 13 more files in changeset.
Introduce `FileSystemSnapshotPredicate`

instead of using a generic `BiPredicate`.

    • -3
    • +2
    ./DefaultFileSystemSnapshotterTest.groovy
  1. … 4 more files in changeset.
Introduce `FileSystemSnapshotPredicate`

instead of using a generic `BiPredicate`.

    • -3
    • +2
    ./DefaultFileSystemSnapshotterTest.groovy
  1. … 4 more files in changeset.
Wrap the patternSet

Instead of using a strategy.

    • -29
    • +22
    ./DefaultFileSystemSnapshotterTest.groovy
  1. … 37 more files in changeset.
Do not use PatternSet in snapshots package

Use a pluggable type instead.

    • -16
    • +53
    ./DefaultFileSystemSnapshotterTest.groovy
  1. … 43 more files in changeset.
Do not use PatternSet in snapshots package

Use a pluggable type instead.

    • -16
    • +53
    ./DefaultFileSystemSnapshotterTest.groovy
  1. … 43 more files in changeset.
Move file collection snapshotting to core

    • -196
    • +0
    ./DefaultFileSystemSnapshotterTest.groovy
  1. … 25 more files in changeset.
Move file collection snapshotting to core

    • -196
    • +0
    ./DefaultFileSystemSnapshotterTest.groovy
  1. … 24 more files in changeset.
Move file collection snapshotting to core

    • -196
    • +1
    ./DefaultFileSystemSnapshotterTest.groovy
  1. … 19 more files in changeset.
spelling: resource

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

    • -2
    • +2
    ./DefaultFileSystemSnapshotterTest.groovy
spelling: empty

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

Signed-off-by: Bo Zhang <bo@gradle.com>

    • -4
    • +4
    ./DefaultFileSystemSnapshotterTest.groovy
  1. … 1 more file in changeset.
Allow filtering of singleton file trees

This re-allows filtering of file trees which consist only of a single

regular file. The path of the root file for filtering is its name.

    • -106
    • +77
    ./DefaultFileSystemSnapshotterTest.groovy
  1. … 11 more files in changeset.
Consistently show file changes for single root file in Gradle Enterprise (#7422)

* Snapshot SingletonFileTree as RegularFileSnapshot

- extract SingletonFileTree as interface

- rename SingletonFileTree to DefaultSingletonFileTree

- rename MapFileTree to GeneratedSingletonFileTree

- GeneratedSingletonFileTree only accepts one file (as its only used for one file so far)

- add coverage for archives

    • -2
    • +228
    ./DefaultFileSystemSnapshotterTest.groovy
  1. … 22 more files in changeset.
Move package org.gradle.internal.snapshot to snapshots project

    • -0
    • +274
    ./DefaultFileSystemSnapshotterTest.groovy
  1. … 56 more files in changeset.