fix(fs/S3#mkdir): noop implementation

This commit is contained in:
Julien Fontanet
2021-04-30 18:26:50 +02:00
parent 757224683f
commit e1c40bd218
2 changed files with 8 additions and 0 deletions

View File

@@ -115,6 +115,10 @@ export default class S3Handler extends RemoteHandlerAbstract {
return [...uniq]
}
_mkdir() {
// nothing to do, directories do not exist, they are part of the files' path
}
async _rename(oldPath, newPath) {
const size = await this._getSize(oldPath)
const multipartParams = await this._s3.createMultipartUpload({ ...this._createParams(newPath) })

View File

@@ -27,3 +27,7 @@
> - major: if the change breaks compatibility
>
> In case of conflict, the highest (lowest in previous list) `$version` wins.
- @xen-orchestra/fs patch
- @xen-orchestra/backups patch
- xo-server patch