mirror of
https://github.com/remotely-save/remotely-save.git
synced 2024-06-07 21:10:45 +00:00
remove recursive to fix digest
This commit is contained in:
parent
11b7fee80b
commit
b0acde0ba6
@ -459,8 +459,10 @@ export class FakeFsWebdav extends FakeFs {
|
|||||||
mtime?: number,
|
mtime?: number,
|
||||||
ctime?: number
|
ctime?: number
|
||||||
): Promise<Entity> {
|
): Promise<Entity> {
|
||||||
|
// the sync algorithm should do recursive manually already.
|
||||||
|
// if we set recursive: true here, Digest auth will return some error inside the PROPFIND
|
||||||
await this.client.createDirectory(key, {
|
await this.client.createDirectory(key, {
|
||||||
recursive: true,
|
recursive: false,
|
||||||
});
|
});
|
||||||
return await this._statFromRoot(key);
|
return await this._statFromRoot(key);
|
||||||
}
|
}
|
||||||
@ -531,7 +533,13 @@ export class FakeFsWebdav extends FakeFs {
|
|||||||
// throw e;
|
// throw e;
|
||||||
this.isNextcloud = false;
|
this.isNextcloud = false;
|
||||||
this.supportNativePartial = false;
|
this.supportNativePartial = false;
|
||||||
return await this._writeFileFromRootFull(key, content, mtime, ctime, origKey);
|
return await this._writeFileFromRootFull(
|
||||||
|
key,
|
||||||
|
content,
|
||||||
|
mtime,
|
||||||
|
ctime,
|
||||||
|
origKey
|
||||||
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user