supabase_storagefile_apiupdate_file本页总览update_file 更新文件,将替换指定路径下的现有文件 声明 FileUploadResponse update_file(string relative_path, mixed data, FileOptions option = nil) 参数 参数名描述relative_path文件路径,包含文件名。格式应为 folder/subfolder/filename.pngdata文件数据option文件选项 返回值 FileUploadResponse 文件上传响应 使用方式 返回文档