Update sync_algorithm.md

This commit is contained in:
fyears 2022-02-16 09:17:02 +08:00 committed by GitHub
parent 3e12e05e26
commit be7d111f70
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4,9 +4,9 @@
We have three record sources:
1. Local files
2. Remote files
3. Local "delete-or-rename" history.
1. Local files. By scanning all files in the vault locally. Actually Obsidian provides an api directly returning this.
2. Remote files. By scanning all files on the remote service. Some services provide an api directly returning this, and some other services require the plugin scanning the folders recursively.
3. Local "delete-or-rename" history. It's recorded by using Obsidian's tracking api. So if users delete or rename files/folders outside Obsidian, we could do nothing.
Assuming all sources are reliable.