Rename ExternalResource.Companion.uploadAsFileTo to uploadAsFile to keep consistency

This commit is contained in:
Him188 2021-03-20 16:49:02 +08:00
parent 09cbc55ef6
commit 0112d4622e

View File

@ -291,7 +291,7 @@ public interface ExternalResource : Closeable {
@JvmBlockingBridge
@JvmName("uploadAsFile")
@JvmOverloads
public suspend fun ExternalResource.uploadAsFileTo(
public suspend fun ExternalResource.uploadAsFile(
contact: FileSupported,
path: String,
callback: RemoteFile.ProgressionCallback? = null