Kotlin: Replace an existing file

Parameters

Examples

Update file

val bucket = supabase.storage.from("avatars")
bucket.update("myIcon.png", byteArray) \{
    upsert = false
\}
//on JVM you can use java.io.File
bucket.update("myIcon.png", file) \{
    upsert = false
\}