Skip to content

Commit

Permalink
Make unprivate
Browse files Browse the repository at this point in the history
  • Loading branch information
Jawnnypoo committed Aug 14, 2023
1 parent ad18eb0 commit 9d50d21
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
buildscript {
ext.kotlin_version = '1.8.10'
ext.kotlin_version = '1.8.22'

repositories {
mavenCentral()
Expand Down
4 changes: 3 additions & 1 deletion src/main/kotlin/com/commit451/okyo/Okyo.kt
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
@file:Suppress("unused")

package com.commit451.okyo

import okio.buffer
Expand Down Expand Up @@ -69,7 +71,7 @@ object Okyo {

@JvmStatic
@Throws(IOException::class)
private fun writeFileToOutputStream(fileToReadFrom: File, outputStream: OutputStream) {
inline fun writeFileToOutputStream(fileToReadFrom: File, outputStream: OutputStream) {
val sink = outputStream.sink().buffer()
val source = fileToReadFrom.source().buffer()
sink.writeAll(source)
Expand Down

0 comments on commit 9d50d21

Please sign in to comment.