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

  1. … 2 more files in changeset.
Drop tryDelete()

  1. … 2 more files in changeset.
Make Deleter.delete() throw IOException

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

Make Deleter.delete() throw IOException

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

Move Deleter interface out of impl package

  1. … 39 more files in changeset.
Move Deleter interface out of impl package

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

Fix cleaning linked directory

Create directory when none existed

Create directory when none existed

Introduce ensureEmptyDirectory() instead of cleanRecursively()

  1. … 7 more files in changeset.
Introduce ensureEmptyDirectory() instead of cleanRecursively()

  1. … 7 more files in changeset.
Introduce Deleter.clean() to clean directory contents

Introduce Deleter.clean() to clean directory contents

  1. … 1 more file in changeset.
Introduce Deleter.clean() to clean directory contents

  1. … 1 more file 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.

Depend only on test fixtures from :native, not on :core

  1. … 3 more files in changeset.
Address review comments

Use java.nio.Files to delete files

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

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.

  1. … 3 more files in changeset.
Simplify Deleter API even more

  1. … 3 more files in changeset.
Create Deleter as a service

  1. … 10 more files in changeset.
Simpler API for Deleter

  1. … 1 more file in changeset.
Introduce interface for Deleter

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

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

    • -189
    • +0
    ./src/main/java/org/gradle/internal/file/Deleter.java
  1. … 1 more file in changeset.
Introduce interface for Deleter

    • -169
    • +4
    ./src/main/java/org/gradle/internal/file/Deleter.java
    • -0
    • +191
    ./src/main/java/org/gradle/internal/file/impl/DefaultDeleter.java
    • -0
    • +313
    ./src/test/groovy/org/gradle/internal/file/impl/DeleterTest.groovy
  1. … 1 more file in changeset.
Introduce interface for Deleter

    • -168
    • +4
    ./src/main/java/org/gradle/internal/file/Deleter.java
  1. … 1 more file in changeset.
Fix method name

Shouldn't have been deleteInternal().

  1. … 1 more file in changeset.
Fix method name

Shouldn't have been deleteInternal().

  1. … 1 more file in changeset.