- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for atomicMove (0.36 sec)
-
okhttp/src/jvmTest/kotlin/okhttp3/CacheTest.kt
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Oct 03 17:41:45 UTC 2025 - 116.8K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt
} @Test fun restoreBackupFile() { val creator = cache.edit("k1")!! creator.setString(0, "ABC") creator.setString(1, "DE") creator.commit() cache.close() filesystem.atomicMove(journalFile, journalBkpFile) assertThat(filesystem.exists(journalFile)).isFalse() createNewCache() val snapshot = cache["k1"]!! snapshot.assertValue(0, "ABC") snapshot.assertValue(1, "DE")
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sat Nov 01 12:18:11 UTC 2025 - 59.4K bytes - Viewed (0)