Searched refs:deleteIfExists (Results 1 – 7 of 7) sorted by relevance
325 deleteIfExists(journalFileTmp); in processJournal()335 deleteIfExists(entry.getCleanFile(t)); in processJournal()336 deleteIfExists(entry.getDirtyFile(t)); in processJournal()386 private static void deleteIfExists(File file) throws IOException { in deleteIfExists() method in DiskLruCache394 deleteIfExists(to); in renameTo()533 deleteIfExists(dirty); in completeEdit()
55 java.nio.file.Files.deleteIfExists(file); in tearDown()64 java.nio.file.Files.deleteIfExists(dir); in tearDown()
109 Files.deleteIfExists(file); in tearDown()119 Files.deleteIfExists(dir); in tearDown()662 if (Files.deleteIfExists(file)) { in startDirectorySymlinkSwitching()
322 Files.deleteIfExists(p); in deleteAllFiles()
1021 assertFalse(Files.deleteIfExists(path("/test"))); in testDelete_file()1022 assertFalse(Files.deleteIfExists(path("/foo/bar"))); in testDelete_file()1032 assertTrue(Files.deleteIfExists(path("/test"))); in testDelete_file()1096 assertTrue(Files.deleteIfExists(path("/foo"))); in testDelete_directory()1136 Files.deleteIfExists(path("/foo")); in testDelete_directory_cantDeleteNonEmptyDirectory()
199 Files.deleteIfExists(tempFile); in testWithFileOutputStream()