okio icon indicating copy to clipboard operation
okio copied to clipboard

A modern I/O library for Android, Java, and Kotlin Multiplatform.

Results 148 okio issues
Sort by recently updated
recently updated
newest added

Here's a minimal failing example: # Files Directory structure: ``` test/ pom.xml Dockerfile TestOkio.java ``` `pom.xml`: ```xml 4.0.0 org.example test-okio3 1.0-SNAPSHOT 11 11 com.squareup.okio okio 3.0.0 ``` `TestOkio.java`: ```java import...

Apologies if there is already documentation on this. Two questions here. 1) Timeouts on nonJvmMain? It seems like commonMain Timeout suggests this is functional, but nonJvmMain doesn't have an implementation...

FileSystem.SYSTEM_TEMPORARY_DIRECTORY exists, but not an equivalent of File.createTempFile. Wondering whether this is in scope? As is, I might need to check if FileSystem.SYSTEM is used and then call File.createTempFile, and...

I try to list the contents of a directory that contains files with special characters (German Umlaute like: ö, ä, ü, ß). The Path objects of the files are returned,...

Is there a multiplatform way to get the home directory? Windows: C:/Users/Username/ Linux: /home/Username Mac: /Users/Username Android: whatever the app's sandboxed directory temp path is If not could we add...

I want to copy some bytes from specific postion relative to current position, but I can't find any method like getPosition()

Could you please create a new release notes in [the repository releases page] for each new version? This allows for watching just the releases notifications of the repository and be...

documentation

I’ve seen failures like this: ``` okio.FileHandleFileSystemTest[jvm] > directoryMetadata[jvm] FAILED java.lang.AssertionError: expected 2021-10-26T03:00:40.999Z in 2021-10-26T03:00:41Z..2021-10-26T03:00:43Z (relaxed from 2021-10-26T03:00:41.002778Z..2021-10-26T03:00:41.002807Z) at org.junit.Assert.fail(Assert.java:89) at kotlin.test.junit.JUnitAsserter.fail(JUnitSupport.kt:56) at kotlin.test.Asserter$DefaultImpls.assertTrue(Assertions.kt:648) at kotlin.test.junit.JUnitAsserter.assertTrue(JUnitSupport.kt:30) at kotlin.test.Asserter$DefaultImpls.assertTrue(Assertions.kt:658) at kotlin.test.junit.JUnitAsserter.assertTrue(JUnitSupport.kt:30)...

Coroutines will graduate to stable in Kotlin 1.3, which is currently in pre-release stages. We need a design doc on how Okio will be using coroutines and start sketching out...

Right now it doesn’t honor timeouts configured. I think we probably want to improve our timeout APIs to make this work more naturally than it would today.