gradle

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

    • -9
    • +28
    ./internal/file/impl/DefaultDeleterTest.groovy
  1. … 2 more files in changeset.
Do not follow symlinks when removing work outputs

    • -21
    • +13
    ./internal/file/impl/DefaultDeleterTest.groovy
  1. … 18 more files in changeset.
Do not follow symlinks when removing work outputs

    • -21
    • +13
    ./internal/file/impl/DefaultDeleterTest.groovy
  1. … 17 more files in changeset.
Do not follow symlinks when removing work outputs

    • -21
    • +13
    ./internal/file/impl/DefaultDeleterTest.groovy
  1. … 17 more files in changeset.
Add unit tests

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

Fix cleaning linked directory

    • -0
    • +18
    ./internal/file/impl/DefaultDeleterTest.groovy
  1. … 1 more file in changeset.
Fix cleaning linked directory

    • -0
    • +18
    ./internal/file/impl/DefaultDeleterTest.groovy
  1. … 1 more file in changeset.
Create directory when none existed

    • -0
    • +13
    ./internal/file/impl/DefaultDeleterTest.groovy
  1. … 1 more file in changeset.
Create directory when none existed

    • -0
    • +13
    ./internal/file/impl/DefaultDeleterTest.groovy
  1. … 1 more file in changeset.
Introduce ensureEmptyDirectory() instead of cleanRecursively()

    • -18
    • +18
    ./internal/file/impl/DefaultDeleterTest.groovy
  1. … 9 more files in changeset.
Introduce ensureEmptyDirectory() instead of cleanRecursively()

    • -18
    • +18
    ./internal/file/impl/DefaultDeleterTest.groovy
  1. … 9 more files in changeset.
Introduce Deleter.clean() to clean directory contents

    • -1
    • +46
    ./internal/file/impl/DefaultDeleterTest.groovy
  1. … 2 more files in changeset.
Introduce Deleter.clean() to clean directory contents

    • -1
    • +46
    ./internal/file/impl/DefaultDeleterTest.groovy
  1. … 3 more files in changeset.
Introduce Deleter.clean() to clean directory contents

    • -1
    • +46
    ./internal/file/impl/DefaultDeleterTest.groovy
  1. … 3 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.

    • -1
    • +1
    ./internal/file/impl/DefaultDeleterTest.groovy
  1. … 1 more file in changeset.
Use java.nio.Files to delete files

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

    • -8
    • +5
    ./internal/file/impl/DefaultDeleterTest.groovy
  1. … 2 more files 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.

    • -5
    • +5
    ./internal/file/impl/DefaultDeleterTest.groovy
  1. … 5 more files in changeset.
Simplify Deleter API even more

    • -17
    • +2
    ./internal/file/impl/DefaultDeleterTest.groovy
  1. … 5 more files in changeset.
Create Deleter as a service

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

    • -3
    • +3
    ./internal/file/impl/DefaultDeleterTest.groovy
  1. … 3 more files in changeset.
Move DefaultDeleter to impl

    • -128
    • +0
    ./internal/file/AbstractSymlinkDeleterTest.groovy
    • -313
    • +0
    ./internal/file/DeleterTest.groovy
    • -41
    • +0
    ./internal/file/UnixDerivativeSymlinkDeleterTest.groovy
    • -41
    • +0
    ./internal/file/WindowsHardLinkDeleterTest.groovy
    • -41
    • +0
    ./internal/file/WindowsJunctionDeleterTest.groovy
    • -41
    • +0
    ./internal/file/WindowsSymbolicLinkDeleterTest.groovy
    • -0
    • +128
    ./internal/file/impl/AbstractSymlinkDeleterTest.groovy
    • -0
    • +313
    ./internal/file/impl/DefaultDeleterTest.groovy
    • -0
    • +41
    ./internal/file/impl/UnixDerivativeSymlinkDeleterTest.groovy
    • -0
    • +41
    ./internal/file/impl/WindowsHardLinkDeleterTest.groovy
    • -0
    • +41
    ./internal/file/impl/WindowsJunctionDeleterTest.groovy
    • -0
    • +41
    ./internal/file/impl/WindowsSymbolicLinkDeleterTest.groovy
  1. … 3 more files in changeset.
Move DefaultDeleter to impl

    • -128
    • +0
    ./internal/file/AbstractSymlinkDeleterTest.groovy
    • -313
    • +0
    ./internal/file/DeleterTest.groovy
    • -41
    • +0
    ./internal/file/UnixDerivativeSymlinkDeleterTest.groovy
    • -41
    • +0
    ./internal/file/WindowsHardLinkDeleterTest.groovy
    • -41
    • +0
    ./internal/file/WindowsJunctionDeleterTest.groovy
    • -41
    • +0
    ./internal/file/WindowsSymbolicLinkDeleterTest.groovy
    • -0
    • +128
    ./internal/file/impl/AbstractSymlinkDeleterTest.groovy
    • -0
    • +313
    ./internal/file/impl/DefaultDeleterTest.groovy
    • -0
    • +41
    ./internal/file/impl/UnixDerivativeSymlinkDeleterTest.groovy
    • -0
    • +41
    ./internal/file/impl/WindowsHardLinkDeleterTest.groovy
    • -0
    • +41
    ./internal/file/impl/WindowsJunctionDeleterTest.groovy
    • -0
    • +41
    ./internal/file/impl/WindowsSymbolicLinkDeleterTest.groovy
  1. … 3 more files in changeset.
Introduce interface for Deleter

    • -128
    • +0
    ./internal/file/AbstractSymlinkDeleterTest.groovy
    • -313
    • +0
    ./internal/file/DeleterTest.groovy
    • -41
    • +0
    ./internal/file/UnixDerivativeSymlinkDeleterTest.groovy
    • -41
    • +0
    ./internal/file/WindowsHardLinkDeleterTest.groovy
    • -41
    • +0
    ./internal/file/WindowsJunctionDeleterTest.groovy
    • -41
    • +0
    ./internal/file/WindowsSymbolicLinkDeleterTest.groovy
    • -0
    • +128
    ./internal/file/impl/AbstractSymlinkDeleterTest.groovy
    • -0
    • +313
    ./internal/file/impl/DeleterTest.groovy
    • -0
    • +41
    ./internal/file/impl/UnixDerivativeSymlinkDeleterTest.groovy
    • -0
    • +41
    ./internal/file/impl/WindowsHardLinkDeleterTest.groovy
    • -0
    • +41
    ./internal/file/impl/WindowsJunctionDeleterTest.groovy
    • -0
    • +41
    ./internal/file/impl/WindowsSymbolicLinkDeleterTest.groovy
  1. … 3 more files in changeset.
Introduce interface for Deleter

    • -128
    • +0
    ./internal/file/AbstractSymlinkDeleterTest.groovy
    • -313
    • +0
    ./internal/file/DeleterTest.groovy
    • -41
    • +0
    ./internal/file/UnixDerivativeSymlinkDeleterTest.groovy
    • -41
    • +0
    ./internal/file/WindowsHardLinkDeleterTest.groovy
    • -41
    • +0
    ./internal/file/WindowsJunctionDeleterTest.groovy
    • -41
    • +0
    ./internal/file/WindowsSymbolicLinkDeleterTest.groovy
    • -0
    • +128
    ./internal/file/impl/AbstractSymlinkDeleterTest.groovy
    • -0
    • +313
    ./internal/file/impl/DeleterTest.groovy
    • -0
    • +41
    ./internal/file/impl/UnixDerivativeSymlinkDeleterTest.groovy
    • -0
    • +41
    ./internal/file/impl/WindowsHardLinkDeleterTest.groovy
    • -0
    • +41
    ./internal/file/impl/WindowsJunctionDeleterTest.groovy
    • -0
    • +41
    ./internal/file/impl/WindowsSymbolicLinkDeleterTest.groovy
  1. … 3 more files in changeset.
Fix method name

Shouldn't have been deleteInternal().

    • -1
    • +1
    ./internal/file/AbstractSymlinkDeleterTest.groovy
  1. … 2 more files in changeset.
Fix method name

Shouldn't have been deleteInternal().

    • -1
    • +1
    ./internal/file/AbstractSymlinkDeleterTest.groovy
  1. … 2 more files in changeset.
Fix method name

Shouldn't have been deleteInternal().

    • -1
    • +1
    ./internal/file/AbstractSymlinkDeleterTest.groovy
Move Deleter to :files

    • -0
    • +128
    ./internal/file/AbstractSymlinkDeleterTest.groovy
    • -0
    • +313
    ./internal/file/DeleterTest.groovy
    • -0
    • +41
    ./internal/file/UnixDerivativeSymlinkDeleterTest.groovy
    • -0
    • +40
    ./internal/file/WindowsHardLinkDeleterTest.groovy
    • -0
    • +40
    ./internal/file/WindowsJunctionDeleterTest.groovy
    • -0
    • +40
    ./internal/file/WindowsSymbolicLinkDeleterTest.groovy
  1. … 11 more files in changeset.
Move Deleter to :files

    • -0
    • +128
    ./api/internal/file/AbstractSymlinkDeleterTest.groovy
    • -0
    • +313
    ./api/internal/file/DeleterTest.groovy
    • -0
    • +41
    ./api/internal/file/UnixDerivativeSymlinkDeleterTest.groovy
    • -0
    • +40
    ./api/internal/file/WindowsHardLinkDeleterTest.groovy
    • -0
    • +40
    ./api/internal/file/WindowsJunctionDeleterTest.groovy
    • -0
    • +40
    ./api/internal/file/WindowsSymbolicLinkDeleterTest.groovy
  1. … 11 more files in changeset.
Move Deleter to :files

    • -0
    • +129
    ./internal/file/AbstractSymlinkDeleterTest.groovy
    • -0
    • +314
    ./internal/file/DeleterTest.groovy
    • -0
    • +41
    ./internal/file/UnixDerivativeSymlinkDeleterTest.groovy
    • -0
    • +40
    ./internal/file/WindowsHardLinkDeleterTest.groovy
    • -0
    • +40
    ./internal/file/WindowsJunctionDeleterTest.groovy
    • -0
    • +40
    ./internal/file/WindowsSymbolicLinkDeleterTest.groovy
  1. … 11 more files in changeset.