FallbackFileMetadataAccessorTest.groovy

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Rename FileMetadata{Snapshot -> }

Snapshot doesn't add anything to the name.

    • -6
    • +6
    ./FallbackFileMetadataAccessorTest.groovy
  1. … 50 more files in changeset.
Address some review feedback.

    • -4
    • +4
    ./FallbackFileMetadataAccessorTest.groovy
  1. … 6 more files in changeset.
Inline method in test

    • -5
    • +1
    ./FallbackFileMetadataAccessorTest.groovy
Determine symlink access in stat

This way we can use the information when deciding what to

watch.

    • -0
    • +8
    ./FallbackFileMetadataAccessorTest.groovy
  1. … 10 more files in changeset.
Determine symlink access in stat

This way we can use the information when deciding what to

watch.

    • -0
    • +8
    ./FallbackFileMetadataAccessorTest.groovy
  1. … 10 more files in changeset.
Determine symlink access in stat

This way we can use the information when deciding what to

watch.

    • -0
    • +8
    ./FallbackFileMetadataAccessorTest.groovy
  1. … 10 more files in changeset.
Add a test for NativePlatformBackedFileMetadataAccessor

    • -1
    • +6
    ./FallbackFileMetadataAccessorTest.groovy
  1. … 3 more files in changeset.
Add a test for NativePlatformBackedFileMetadataAccessor

    • -1
    • +6
    ./FallbackFileMetadataAccessorTest.groovy
  1. … 3 more files in changeset.
Fixed for unit test broken on Java 9 + linux.

    • -0
    • +4
    ./FallbackFileMetadataAccessorTest.groovy
  1. … 3 more files in changeset.
Attempt to implement faster `stat` using JDK 7 attributes

    • -53
    • +4
    ./FallbackFileMetadataAccessorTest.groovy
  1. … 6 more files in changeset.
Fixes for broken unit tests.

    • -0
    • +3
    ./FallbackFileMetadataAccessorTest.groovy
  1. … 1 more file in changeset.
Introduced `FileSystem.stat()` method, which returns the basic meta-data for a file used during snapshotting. This is used during snapshotting of input and output files, but not yet used during snapshotting of input and output directories.

Added an implementation backed by native-platform that fetches this information using a single system call and that is much more efficient than using `File` or `Path` APIs. Added a fallback that is used when native-platform is not available. This fallback is currently also used for Windows due to some wiring issues in `FileSystemServices`.

    • -0
    • +74
    ./FallbackFileMetadataAccessorTest.groovy
  1. … 16 more files in changeset.