pro and smart conflict
This commit is contained in:
@@ -145,6 +145,7 @@ export class FakeFsLocal extends FakeFs {
|
||||
): Promise<Entity> {
|
||||
await this.vault.adapter.writeBinary(key, content, {
|
||||
mtime: mtime,
|
||||
ctime: ctime,
|
||||
});
|
||||
return await this.stat(key);
|
||||
}
|
||||
@@ -153,6 +154,10 @@ export class FakeFsLocal extends FakeFs {
|
||||
return await this.vault.adapter.readBinary(key);
|
||||
}
|
||||
|
||||
async rename(key1: string, key2: string): Promise<void> {
|
||||
return await this.vault.adapter.rename(key1, key2);
|
||||
}
|
||||
|
||||
async rm(key: string): Promise<void> {
|
||||
if (this.deleteToWhere === "obsidian") {
|
||||
await this.vault.adapter.trashLocal(key);
|
||||
|
||||
Reference in New Issue
Block a user