mirror of
https://github.com/vrtmrz/obsidian-livesync.git
synced 2026-05-25 16:51:36 +00:00
Fixed:
- Now the result of conflict resolution could be surely written into the storage. - Deleted files can be handled correctly again in the history dialogue and conflict dialogue. - Some wrong log messages were fixed. - Change handling now has become more stable. - Some event handling became to be safer. Improved: - Dumping document information shows conflicts and revisions. - The timestamp-only differences can be surely cached. - Timestamp difference detection can be rounded by two seconds. Refactored: - A bit of organisation to write the test.
This commit is contained in:
7
src/stores.ts
Normal file
7
src/stores.ts
Normal file
@@ -0,0 +1,7 @@
|
||||
import { PersistentMap } from "./lib/src/PersistentMap";
|
||||
|
||||
export let sameChangePairs: PersistentMap<number[]>;
|
||||
|
||||
export function initializeStores(vaultName: string) {
|
||||
sameChangePairs = new PersistentMap<number[]>(`ls-persist-same-changes-${vaultName}`);
|
||||
}
|
||||
Reference in New Issue
Block a user