Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for deleteRecursively (0.08 sec)

  1. guava-tests/test/com/google/common/io/MoreFilesTest.java

          MoreFiles.deleteRecursively(file);
    
          assertFalse(Files.exists(file, NOFOLLOW_LINKS));
    
          Path symlink = fs.getPath("/symlinktodir");
          assertTrue(Files.isSymbolicLink(symlink));
    
          Path realSymlinkTarget = symlink.toRealPath();
          assertTrue(Files.isDirectory(realSymlinkTarget, NOFOLLOW_LINKS));
    
          MoreFiles.deleteRecursively(symlink);
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 02:42:09 UTC 2024
    - 27.4K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/io/MoreFilesTest.java

          MoreFiles.deleteRecursively(file);
    
          assertFalse(Files.exists(file, NOFOLLOW_LINKS));
    
          Path symlink = fs.getPath("/symlinktodir");
          assertTrue(Files.isSymbolicLink(symlink));
    
          Path realSymlinkTarget = symlink.toRealPath();
          assertTrue(Files.isDirectory(realSymlinkTarget, NOFOLLOW_LINKS));
    
          MoreFiles.deleteRecursively(symlink);
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 16:07:00 UTC 2024
    - 26.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/io/RecursiveDeleteOption.java

    import com.google.j2objc.annotations.J2ObjCIncompatible;
    import java.nio.file.SecureDirectoryStream;
    
    /**
     * Options for use with recursive delete methods ({@link MoreFiles#deleteRecursively} and {@link
     * MoreFiles#deleteDirectoryContents}).
     *
     * @since NEXT (but since 21.0 in the JRE flavor)
     * @author Colin Decker
     */
    @J2ktIncompatible
    @GwtIncompatible
    @J2ObjCIncompatible // java.nio.file
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 16:07:00 UTC 2024
    - 2K bytes
    - Viewed (0)
  4. guava/src/com/google/common/io/RecursiveDeleteOption.java

    import com.google.j2objc.annotations.J2ObjCIncompatible;
    import java.nio.file.SecureDirectoryStream;
    
    /**
     * Options for use with recursive delete methods ({@link MoreFiles#deleteRecursively} and {@link
     * MoreFiles#deleteDirectoryContents}).
     *
     * @since 21.0 (but only since 33.4.0 in the Android flavor)
     * @author Colin Decker
     */
    @J2ktIncompatible
    @GwtIncompatible
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 16:07:00 UTC 2024
    - 2K bytes
    - Viewed (0)
  5. build-logic-commons/publishing/src/main/kotlin/gradlebuild.publish-public-libraries.gradle.kts

                if (moduleBaseDir.exists()) {
                    // Make sure artifacts do not pile up locally
                    moduleBaseDir.deleteRecursively()
                }
            }
    
            doLast {
                localRepository.get().file("org/gradle/${baseName.get()}/maven-metadata.xml").asFile.apply {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Sep 19 13:21:47 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/reflect/ClassPathTest.java

    import static com.google.common.base.StandardSystemProperty.OS_NAME;
    import static com.google.common.base.StandardSystemProperty.PATH_SEPARATOR;
    import static com.google.common.io.MoreFiles.deleteRecursively;
    import static com.google.common.truth.Truth.assertThat;
    import static java.nio.charset.StandardCharsets.US_ASCII;
    import static java.nio.file.Files.createDirectory;
    import static java.nio.file.Files.createFile;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 22:09:38 UTC 2024
    - 27.6K bytes
    - Viewed (0)
  7. build-logic/build-init-samples/src/main/kotlin/gradlebuild/samples/SamplesGenerator.kt

            // clear the target directory to remove renamed files and reset the README file
            target.asFile.deleteRecursively()
    
            val groovyDslSettings = InitSettings(projectName, false, descriptor.componentType.defaultProjectNames, modularization, BuildInitDsl.GROOVY, packageName, testFramework, target.dir("groovy"))
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Oct 22 11:11:17 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/io/MoreFiles.java

       *     specified
       * @throws IOException if {@code path} or any file in the subtree rooted at it can't be deleted
       *     for any reason
       */
      public static void deleteRecursively(Path path, RecursiveDeleteOption... options)
          throws IOException {
        Path parentPath = getParentPath(path);
        if (parentPath == null) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 16:07:00 UTC 2024
    - 35K bytes
    - Viewed (0)
  9. guava/src/com/google/common/io/MoreFiles.java

       *     specified
       * @throws IOException if {@code path} or any file in the subtree rooted at it can't be deleted
       *     for any reason
       */
      public static void deleteRecursively(Path path, RecursiveDeleteOption... options)
          throws IOException {
        Path parentPath = getParentPath(path);
        if (parentPath == null) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 16:07:00 UTC 2024
    - 34.5K bytes
    - Viewed (0)
Back to top