- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 19 for followSymlink (0.4 sec)
-
platforms/core-execution/snapshots/src/main/java/org/gradle/internal/snapshot/impl/DirectorySnapshotter.java
if (targetAttributes.isDirectory()) { AtomicBoolean symlinkHasBeenFiltered = new AtomicBoolean(); DirectorySnapshot targetSnapshot = followSymlink(file, internedFileName, symlinkHasBeenFiltered); if (targetSnapshot != null) { DirectorySnapshot directorySnapshotAccessedViaSymlink = new DirectorySnapshot(
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Dec 11 13:37:56 UTC 2023 - 24.4K bytes - Viewed (0) -
platforms/documentation/docs/src/docs/userguide/releases/upgrading/upgrading_version_5.adoc
==== Delete operations correctly handle symbolic links on Windows Gradle no longer ignores the `followSymlink` option on Windows for the `clean` task, all `Delete` tasks, and `project.delete {}` operations in the presence of junction points and symbolic links. ==== Fix in publication of additional artifacts
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Feb 22 03:01:48 UTC 2024 - 47.5K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/api/internal/file/delete/DefaultDeleteSpec.java
paths = files; return this; } @Override public void setFollowSymlinks(boolean followSymlinks) { this.followSymlinks = followSymlinks; } @Override public boolean isFollowSymlinks() { return followSymlinks; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 02 16:56:13 UTC 2016 - 1.3K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/api/tasks/Delete.java
return followSymlinks; } /** * Set if symlinks should be followed. If the platform doesn't support symlinks, then this will have no effect. * * @param followSymlinks if symlinks should be followed. */ @Override public void setFollowSymlinks(boolean followSymlinks) { this.followSymlinks = followSymlinks; } /**
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Oct 24 23:13:41 UTC 2022 - 4K bytes - Viewed (0) -
platforms/core-runtime/files/src/test/groovy/org/gradle/internal/file/impl/AbstractSymlinkDeleterTest.groovy
when: boolean didWork = delete(followSymlinks, link) then: !link.exists() originalFile.assertExists() didWork cleanup: link.delete() where: followSymlinks << [true, false] } private boolean delete(boolean followSymlinks, File path) { return deleter.deleteRecursively(path, followSymlinks)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:55:52 UTC 2023 - 3.5K bytes - Viewed (0) -
subprojects/core-api/src/main/java/org/gradle/api/file/DeleteSpec.java
*/ DeleteSpec delete(Object... files); /** * Specifies whether or not symbolic links should be followed during deletion. * * @param followSymlinks deletion will follow symlinks when true. */ void setFollowSymlinks(boolean followSymlinks);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Feb 01 02:14:13 UTC 2019 - 1.3K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/tasks/DeleteIntegrationTest.groovy
def "will not follow symlinks"() { given: setupSymlinks() and: buildFile << ''' task delete(type: Delete) { delete 'test/subject' followSymlinks = false } ''' expect: succeeds("delete") assertTrue(orig.isDirectory()) assertTrue(orig.exists()) assertFalse(subject.isDirectory())
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Feb 20 17:44:25 UTC 2019 - 3.3K bytes - Viewed (0) -
platforms/core-runtime/files/src/main/java/org/gradle/internal/file/Deleter.java
* <li>a symlink pointing to an existing directory, then either the linked directory's * contents are removed recursively (if {@code followSymlinks} is {@code true}), * or the link is removed and a new directory is created (if {@code followSymlinks} * is {@code false}),</li> * <li>a file, or a symlink to an existing file, it is deleted and a directory is created in its place,</li>
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Mar 12 02:21:10 UTC 2024 - 4.2K bytes - Viewed (0) -
platforms/core-runtime/files/src/main/java/org/gradle/internal/file/impl/DefaultDeleter.java
} @Override public boolean ensureEmptyDirectory(File root, boolean followSymlinks) throws IOException { if (root.exists()) { if (root.isDirectory() && (followSymlinks || !isSymlink.test(root))) { return deleteRecursively(root, followSymlinks ? Handling.KEEP_AND_FOLLOW_SYMLINKED_DIRECTORIES
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Feb 15 17:10:06 UTC 2024 - 12.9K bytes - Viewed (0) -
platforms/documentation/docs/src/docs/dsl/org.gradle.api.tasks.Delete.xml
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 637 bytes - Viewed (0)