mirror of
https://github.com/vrtmrz/obsidian-livesync.git
synced 2026-04-30 04:48:34 +00:00
- 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.
8 lines
259 B
TypeScript
8 lines
259 B
TypeScript
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}`);
|
|
}
|