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

Snapshot doesn't add anything to the name.

    • -8
    • +8
    ./services/FallbackFileMetadataAccessor.java
    • -9
    • +9
    ./services/NativePlatformBackedFileMetadataAccessor.java
  1. … 46 more files in changeset.
Address some more review feedback.

  1. … 2 more files in changeset.
Introduce `AccessType.viaSymlink`

    • -1
    • +1
    ./services/NativePlatformBackedFileMetadataAccessor.java
  1. … 4 more files in changeset.
Tighten scope of try in `FileMetadataAccessor`s

    • -17
    • +18
    ./jdk7/NioFileMetadataAccessor.java
    • -20
    • +21
    ./services/NativePlatformBackedFileMetadataAccessor.java
Address some review feedback.

  1. … 6 more files in changeset.
Remove FileMetadataAccessor.stat(Path)

we never use that method from Gradle code, so we

can as well remove it.

    • -12
    • +1
    ./jdk7/NioFileMetadataAccessor.java
    • -8
    • +0
    ./services/FallbackFileMetadataAccessor.java
    • -7
    • +0
    ./services/NativePlatformBackedFileMetadataAccessor.java
  1. … 1 more file in changeset.
Stat named pipes as missing files

as we do when we encounter those types when walking

a directory.

    • -1
    • +5
    ./services/FallbackFileMetadataAccessor.java
    • -0
    • +2
    ./services/NativePlatformBackedFileMetadataAccessor.java
  1. … 1 more file in changeset.
Allow stating a symlink cycle

via native platform.

    • -12
    • +17
    ./services/NativePlatformBackedFileMetadataAccessor.java
  1. … 1 more file in changeset.
Allow stating a symlink cycle

via native platform.

    • -12
    • +17
    ./services/NativePlatformBackedFileMetadataAccessor.java
  1. … 1 more file in changeset.
Allow stating a symlink cycle

via native platform.

    • -12
    • +17
    ./services/NativePlatformBackedFileMetadataAccessor.java
  1. … 1 more file in changeset.
Allow stating a symlink cycle

via native platform.

    • -12
    • +17
    ./services/NativePlatformBackedFileMetadataAccessor.java
  1. … 1 more file in changeset.
Allow stating a symlink cycle

via native platform.

    • -12
    • +16
    ./services/NativePlatformBackedFileMetadataAccessor.java
  1. … 1 more file in changeset.
Determine symlink access in stat

This way we can use the information when deciding what to

watch.

    • -5
    • +17
    ./jdk7/NioFileMetadataAccessor.java
    • -4
    • +5
    ./services/FallbackFileMetadataAccessor.java
    • -5
    • +14
    ./services/NativePlatformBackedFileMetadataAccessor.java
  1. … 8 more files in changeset.
Determine symlink access in stat

This way we can use the information when deciding what to

watch.

    • -5
    • +17
    ./jdk7/NioFileMetadataAccessor.java
    • -4
    • +5
    ./services/FallbackFileMetadataAccessor.java
    • -5
    • +14
    ./services/NativePlatformBackedFileMetadataAccessor.java
  1. … 8 more files in changeset.
Determine symlink access in stat

This way we can use the information when deciding what to

watch.

    • -12
    • +17
    ./jdk7/NioFileMetadataAccessor.java
    • -3
    • +4
    ./services/FallbackFileMetadataAccessor.java
    • -6
    • +10
    ./services/NativePlatformBackedFileMetadataAccessor.java
  1. … 8 more files in changeset.
Use factory methods for DefaultFileMetadataSnapshot

and make the constructor private.

  1. … 4 more files in changeset.
Use factory methods for DefaultFileMetadataSnapshot

and make the constructor private.

  1. … 4 more files in changeset.
Rename DefaultFileMetadata{ -> Snapshot}

so it is consistent with the interface.

    • -4
    • +4
    ./services/FallbackFileMetadataAccessor.java
    • -4
    • +4
    ./services/NativePlatformBackedFileMetadataAccessor.java
  1. … 7 more files in changeset.
Rename DefaultFileMetadata{ -> Snapshot}

so it is consistent with the interface.

    • -4
    • +4
    ./services/FallbackFileMetadataAccessor.java
    • -4
    • +4
    ./services/NativePlatformBackedFileMetadataAccessor.java
  1. … 7 more files in changeset.
Use native platform for stat by default

instead of using Java NIO APIs with a `File.exists()`

on Linux and Windows.

This is a preparation for #12966.

    • -61
    • +0
    ./jdk7/Jdk7FileMetadataAccessor.java
    • -0
    • +52
    ./jdk7/NioFileMetadataAccessor.java
  1. … 4 more files in changeset.
Use native platform for stat by default

instead of using Java NIO APIs with a `File.exists()`

on Linux and Windows.

This is a preparation for #12966.

    • -61
    • +0
    ./jdk7/Jdk7FileMetadataAccessor.java
    • -0
    • +52
    ./jdk7/NioFileMetadataAccessor.java
  1. … 4 more files in changeset.
Determine isSymlink in stat

We switch to using the native stat on all OSes,

since it should be much faster for missing files

compared to catching the exception in Java

NIO.

    • -21
    • +17
    ./jdk7/Jdk7FileMetadataAccessor.java
    • -4
    • +14
    ./services/NativePlatformBackedFileMetadataAccessor.java
  1. … 7 more files in changeset.
Determine isSymlink in stat

We switch to using the native stat on all OSes,

since it should be much faster for missing files

compared to catching the exception in Java

NIO.

    • -20
    • +20
    ./jdk7/Jdk7FileMetadataAccessor.java
    • -4
    • +14
    ./services/NativePlatformBackedFileMetadataAccessor.java
  1. … 7 more files in changeset.
Do not use deprecated API in subproject 'native'

  1. … 2 more files in changeset.
Do not use deprecated API in subproject 'native'

  1. … 2 more files in changeset.
Do not use deprecated API in subproject 'native'

  1. … 2 more files in changeset.
Activate 'strict-compile' for all subprojects

  1. … 150 more files in changeset.
Drop legacy FileSystem type form nativeplatform package

In favor of the one from the nativeintegration package. This shouldn't break anyone.

  1. … 5 more files in changeset.
Move DefaultFileMetadata to impl package

    • -1
    • +1
    ./services/FallbackFileMetadataAccessor.java
    • -1
    • +1
    ./services/NativePlatformBackedFileMetadataAccessor.java
  1. … 10 more files in changeset.
Polish FileSystem