GenericFileSystemTest.groovy

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Move Stat and Chmod to :files

  1. … 38 more files in changeset.
Move Stat and Chmod to :files

  1. … 38 more files 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`.

  1. … 16 more files in changeset.
Added backward-compatible FileSystem api - This allows subclasses of AbstractCopyTask compiled with previous gradle versions to function with latest version.

    • -0
    • +75
    ./GenericFileSystemTest.groovy
  1. … 31 more files in changeset.