提交 409293d5 编写于 作者: J Johannes Rieken

fix #66824

上级 a12582cb
......@@ -563,6 +563,7 @@ export class RemoteFileService extends FileService {
: Promise.resolve(null);
return prepare.then(() => this._withProvider(source)).then(RemoteFileService._throwIfFileSystemIsReadonly).then(provider => {
return RemoteFileService._mkdirp(provider, resources.dirname(target)).then(() => {
return provider.rename(source, target, { overwrite }).then(() => {
return this.resolveFile(target);
}).then(fileStat => {
......@@ -576,6 +577,7 @@ export class RemoteFileService extends FileService {
throw err;
});
});
});
}
private _doMoveAcrossScheme(source: URI, target: URI, overwrite?: boolean): Promise<IFileStat> {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册