- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for deleteRecursively (0.49 sec)
-
impl/maven-core/src/test/java/org/apache/maven/project/RepositoryLeakageTest.java
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Thu Oct 16 06:12:36 UTC 2025 - 9.3K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/io/FaultyFileSystem.kt
super.delete(path, mustExist) } @Throws(IOException::class) override fun deleteRecursively( fileOrDirectory: Path, mustExist: Boolean, ) { if (deleteFaults.contains(fileOrDirectory)) throw IOException("boom!") super.deleteRecursively(fileOrDirectory, mustExist) } override fun appendingSink( file: Path, mustExist: Boolean,
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 2.8K bytes - Viewed (0) -
regression-test/src/androidTest/java/okhttp/regression/compare/AndroidHttpEngineTest.kt
.build(), ).addQuicHint("google.com", 443, 443) .addQuicHint("www.google.com", 443, 443) .build() @After fun tearDown() { engine.shutdown() cacheDir.deleteRecursively() } @Test fun get() { val executor = Executors.newCachedThreadPool() val completableFuture = execute(engine, executor, "https://google.com/robots.txt") try {
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 6.3K bytes - Viewed (0) -
okhttp-osgi-tests/src/test/kotlin/okhttp3/osgi/OsgiTest.kt
@BeforeEach fun setUp() { testResourceDir = "./build/resources/test/okhttp3/osgi".toPath() workspaceDir = testResourceDir / "workspace" // Ensure we start from scratch. fileSystem.deleteRecursively(workspaceDir) fileSystem.createDirectories(workspaceDir) } /** * Resolve the OSGi metadata of the all okhttp3 modules. If required modules do not have OSGi * metadata this will fail with an exception.
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 5K bytes - Viewed (0) -
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 33.4.0 (but since 21.0 in the JRE flavor) * @author Colin Decker */ @J2ktIncompatible @GwtIncompatible @J2ObjCIncompatible // java.nio.file
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 2K bytes - Viewed (0) -
build-logic-commons/publishing/src/main/kotlin/gradlebuild.publish-public-libraries.gradle.kts
Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Thu Oct 30 16:56:31 UTC 2025 - 5.7K bytes - Viewed (0) -
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) -
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 Dec 31 11:36:14 UTC 2025 - Last Modified: Sun Dec 15 07:49:41 UTC 2024 - 13.5K bytes - Viewed (0) -
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) -
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)