Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for ForwardingFileSystem (0.09 sec)

  1. okhttp-testing-support/src/main/kotlin/okhttp3/okio/LoggingFilesystem.kt

     * limitations under the License.
     */
    package okhttp3.okio
    
    import okio.FileSystem
    import okio.ForwardingFileSystem
    import okio.Path
    import okio.Sink
    import okio.Source
    
    class LoggingFilesystem(
      fileSystem: FileSystem,
    ) : ForwardingFileSystem(fileSystem) {
      fun log(line: String) {
        println(line)
      }
    
      override fun appendingSink(
        file: Path,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/internal/io/FaultyFileSystem.kt

     */
    package okhttp3.internal.io
    
    import java.io.IOException
    import okio.Buffer
    import okio.FileSystem
    import okio.ForwardingFileSystem
    import okio.ForwardingSink
    import okio.Path
    import okio.Sink
    
    class FaultyFileSystem constructor(
      delegate: FileSystem?,
    ) : ForwardingFileSystem(delegate!!) {
      private val writeFaults: MutableSet<Path> = LinkedHashSet()
      private val deleteFaults: MutableSet<Path> = LinkedHashSet()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 2.8K bytes
    - Viewed (0)
Back to top