We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
move
1 parent 50d1c87 commit e9acad8Copy full SHA for e9acad8
src/lib/storage/StorageApi.ts
@@ -164,13 +164,13 @@ export class StorageApi {
164
}
165
166
/**
167
- * Renames an existing file.
+ * Moves an existing file, optionally renaming it at the same time.
168
*
169
* @param bucketId The bucket which contains the file.
170
* @param fromPath The original file path, including the current file name. For example `folder/image.png`.
171
* @param toPath The new file path, including the new file name. For example `folder/image-copy.png`.
172
*/
173
- async renameFile(
+ async moveFile(
174
bucketId: string,
175
fromPath: string,
176
toPath: string
0 commit comments