Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for followSymlinks (0.16 sec)

  1. 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)
  2. 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)
  3. 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)
  4. platforms/documentation/docs/src/docs/dsl/org.gradle.api.tasks.Delete.xml

                <thead>
                    <tr>
                        <td>Name</td>
                    </tr>
                </thead>
                <tr><td>delete</td></tr>
                <tr><td>targetFiles</td></tr>
                <tr><td>followSymlinks</td></tr>
            </table>
        </section>
        <section>
            <title>Methods</title>
            <table>
                <thead>
                    <tr>
                        <td>Name</td>
                    </tr>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 637 bytes
    - Viewed (0)
  5. maven-api-impl/src/test/remote-repo/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar

    java.util.Vector dirsNotIncluded; protected java.util.Vector dirsExcluded; protected java.util.Vector filesDeselected; protected java.util.Vector dirsDeselected; protected boolean haveSlowResults; protected boolean isCaseSensitive; private boolean followSymlinks; protected boolean everythingIncluded; public void DirectoryScanner(); protected static boolean matchPatternStart(String, String); protected static boolean matchPatternStart(String, String, boolean); protected static boolean matchPath(String,...
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu May 02 15:10:38 UTC 2024
    - 164.6K bytes
    - Viewed (0)
  6. subprojects/core-api/src/main/java/org/gradle/api/Project.java

         * delete the files.
         * <p>Example:
         * <pre>
         * project.delete {
         *     delete 'somefile'
         *     followSymlinks = true
         * }
         * </pre>
         *
         * @param action Action to configure the DeleteSpec
         * @return {@link WorkResult} that can be used to check if delete did any work.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 04:56:22 UTC 2024
    - 74.3K bytes
    - Viewed (0)
  7. 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)
  8. 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)
Back to top