Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Recreate symlinked target directory as actual directory

Do not follow symlinks when removing work outputs

  1. … 16 more files in changeset.
Do not follow symlinks when removing work outputs

  1. … 15 more files in changeset.
Do not follow symlinks when removing work outputs

  1. … 15 more files in changeset.
Make checkstyle happy

Use linked list instead of array list for potentially empty and/or pattern parts

Add unit tests

Signed-off-by: Robert Stupp <snazy@snazy.de>

Add unit tests

Signed-off-by: Robert Stupp <snazy@snazy.de>

Prevent StackOverflowException caused by excessive 'or' via PatternMatcher

Signed-off-by: Robert Stupp <snazy@snazy.de>

Prevent StackOverflowException caused by excessive 'or' via PatternMatcher

Signed-off-by: Robert Stupp <snazy@snazy.de>

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.