Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for deleteRecursively (0.06 sec)

  1. impl/maven-core/src/test/java/org/apache/maven/project/RepositoryLeakageTest.java

            } finally {
                // Clean up
                deleteRecursively(tempDir.toFile());
            }
        }
    
        private void deleteRecursively(File file) {
            if (file.isDirectory()) {
                File[] children = file.listFiles();
                if (children != null) {
                    for (File child : children) {
                        deleteRecursively(child);
                    }
                }
            }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Oct 16 06:12:36 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  2. 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 Dec 31 11:36:14 UTC 2025
    - Last Modified: Thu Oct 30 16:56:31 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt

            toClose.add(it)
          }
        synchronized(cache) { cache.initialize() }
      }
    
      @BeforeEach
      fun setUp() {
        if (filesystem.exists(cacheDir)) {
          filesystem.deleteRecursively(cacheDir)
        }
        journalFile = cacheDir / DiskLruCache.JOURNAL_FILE
        journalBkpFile = cacheDir / DiskLruCache.JOURNAL_FILE_BACKUP
        createNewCache()
      }
    
      @AfterEach fun tearDown() {
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sat Nov 01 12:18:11 UTC 2025
    - 59.4K bytes
    - Viewed (0)
  4. 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 Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 21:00:51 UTC 2025
    - 25.7K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/SmbFileIntegrationTest.java

                errorMessage += ". Last error: " + lastException.getMessage();
            }
            throw new RuntimeException(errorMessage, lastException);
        }
    
        private void deleteRecursively(SmbFile file) throws SmbException {
            if (!file.exists()) {
                return;
            }
    
            if (file.isDirectory()) {
                try {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 56K bytes
    - Viewed (0)
Back to top