Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Drop tryDelete()

    • -11
    • +3
    ./gradle/internal/file/Deleter.java
    • -6
    • +5
    ./gradle/internal/file/impl/DefaultDeleter.java
  1. … 2 more files in changeset.
Drop tryDelete()

    • -11
    • +3
    ./gradle/internal/file/Deleter.java
    • -6
    • +5
    ./gradle/internal/file/impl/DefaultDeleter.java
  1. … 2 more files in changeset.
Make Deleter.delete() throw IOException

There's also tryDelete() now, but it should probably go away, too.

    • -1
    • +10
    ./gradle/internal/file/Deleter.java
    • -4
    • +15
    ./gradle/internal/file/impl/DefaultDeleter.java
Make Deleter.delete() throw IOException

There's also tryDelete() now, but it should probably go away, too.

    • -1
    • +10
    ./gradle/internal/file/Deleter.java
    • -4
    • +15
    ./gradle/internal/file/impl/DefaultDeleter.java
Move Deleter interface out of impl package

    • -0
    • +71
    ./gradle/internal/file/Deleter.java
    • -0
    • +1
    ./gradle/internal/file/impl/DefaultDeleter.java
    • -71
    • +0
    ./gradle/internal/file/impl/Deleter.java
  1. … 39 more files in changeset.
Move Deleter interface out of impl package

    • -0
    • +71
    ./gradle/internal/file/Deleter.java
    • -0
    • +1
    ./gradle/internal/file/impl/DefaultDeleter.java
    • -71
    • +0
    ./gradle/internal/file/impl/Deleter.java
  1. … 36 more files in changeset.
Fix cleaning linked directory

    • -17
    • +74
    ./gradle/internal/file/impl/DefaultDeleter.java
  1. … 1 more file in changeset.
Fix cleaning linked directory

    • -17
    • +74
    ./gradle/internal/file/impl/DefaultDeleter.java
  1. … 1 more file in changeset.
Create directory when none existed

    • -10
    • +9
    ./gradle/internal/file/impl/DefaultDeleter.java
  1. … 1 more file in changeset.
Create directory when none existed

    • -10
    • +9
    ./gradle/internal/file/impl/DefaultDeleter.java
  1. … 1 more file in changeset.
Introduce ensureEmptyDirectory() instead of cleanRecursively()

    • -2
    • +10
    ./gradle/internal/file/impl/DefaultDeleter.java
    • -3
    • +11
    ./gradle/internal/file/impl/Deleter.java
  1. … 8 more files in changeset.
Introduce ensureEmptyDirectory() instead of cleanRecursively()

    • -2
    • +10
    ./gradle/internal/file/impl/DefaultDeleter.java
    • -3
    • +11
    ./gradle/internal/file/impl/Deleter.java
  1. … 8 more files in changeset.
Introduce Deleter.clean() to clean directory contents

    • -14
    • +35
    ./gradle/internal/file/impl/DefaultDeleter.java
    • -0
    • +14
    ./gradle/internal/file/impl/Deleter.java
  1. … 1 more file in changeset.
Introduce Deleter.clean() to clean directory contents

    • -14
    • +35
    ./gradle/internal/file/impl/DefaultDeleter.java
    • -0
    • +14
    ./gradle/internal/file/impl/Deleter.java
  1. … 2 more files in changeset.
Introduce Deleter.clean() to clean directory contents

    • -14
    • +35
    ./gradle/internal/file/impl/DefaultDeleter.java
    • -0
    • +14
    ./gradle/internal/file/impl/Deleter.java
  1. … 2 more files in changeset.
Use old java.io API instead of java.nio.file

This is because on Java 8 there is a bug that destroys performance. See https://bugs.openjdk.java.net/browse/JDK-8154077.

    • -17
    • +5
    ./gradle/internal/file/impl/DefaultDeleter.java
  1. … 1 more file in changeset.
Address review comments

    • -14
    • +19
    ./gradle/internal/file/impl/DefaultDeleter.java
    • -3
    • +1
    ./gradle/internal/file/impl/Deleter.java
Use java.nio.Files to delete files

This should give us more information about what goes wrong when it does.

    • -9
    • +15
    ./gradle/internal/file/impl/DefaultDeleter.java
    • -2
    • +4
    ./gradle/internal/file/impl/Deleter.java
  1. … 1 more file in changeset.
Throw IOException and expose simple delete() method on Deleter

This is the prime usage for IOException, so let's use it. Also expose another method that tries to delete a single file.

    • -20
    • +21
    ./gradle/internal/file/impl/DefaultDeleter.java
    • -1
    • +27
    ./gradle/internal/file/impl/Deleter.java
  1. … 4 more files in changeset.
Simplify Deleter API even more

    • -8
    • +5
    ./gradle/internal/file/impl/DefaultDeleter.java
    • -1
    • +1
    ./gradle/internal/file/impl/Deleter.java
  1. … 5 more files in changeset.
Simpler API for Deleter

    • -16
    • +21
    ./gradle/internal/file/impl/DefaultDeleter.java
    • -2
    • +1
    ./gradle/internal/file/impl/Deleter.java
  1. … 3 more files in changeset.
Introduce interface for Deleter

    • -1
    • +2
    ./gradle/internal/file/impl/DefaultDeleter.java
    • -0
    • +24
    ./gradle/internal/file/impl/Deleter.java
  1. … 1 more file in changeset.
Move DefaultDeleter to impl

    • -189
    • +0
    ./gradle/internal/file/Deleter.java
    • -0
    • +189
    ./gradle/internal/file/impl/DefaultDeleter.java
  1. … 13 more files in changeset.
Move DefaultDeleter to impl

    • -189
    • +0
    ./gradle/internal/file/Deleter.java
    • -0
    • +189
    ./gradle/internal/file/impl/DefaultDeleter.java
  1. … 13 more files in changeset.
Introduce interface for Deleter

    • -169
    • +4
    ./gradle/internal/file/Deleter.java
    • -0
    • +191
    ./gradle/internal/file/impl/DefaultDeleter.java
  1. … 13 more files in changeset.
Introduce interface for Deleter

    • -168
    • +4
    ./gradle/internal/file/Deleter.java
    • -0
    • +191
    ./gradle/internal/file/impl/DefaultDeleter.java
  1. … 13 more files in changeset.
Fix method name

Shouldn't have been deleteInternal().

  1. … 3 more files in changeset.
Fix method name

Shouldn't have been deleteInternal().

  1. … 3 more files in changeset.
Move Deleter to :files

    • -0
    • +185
    ./gradle/api/internal/file/Deleter.java
  1. … 16 more files in changeset.
Move Deleter to :files

    • -0
    • +185
    ./gradle/internal/file/Deleter.java
  1. … 16 more files in changeset.