Lishid
Lishid
Thank you for the comment. Fortunately, Obsidian can work with both `master` and `main` branches, so developers can choose whichever they prefer!
Thank you, that is a great data point. [Looking at the docs](https://git-scm.com/docs/git-init#Documentation/git-init.txt---initial-branchltbranch-namegt), it seems that the default value is still `master` for now. Once `git` decides to permanently change `defaultBranch`'s...
I agree we should eventually expose some of the search & result rendering APIs. Right now it is fairly difficult because they are fairly specialized for the use cases we...
I currently don't see a way to set mtime directly. What's your use case? As for append, I'll look into it.
Why do you need to write the mtime separately from writing the file? With Obsidian Sync, we store the mtime when a file syncs down with the `write()` function. I'm...
I will add append for the next insider release. > For example, we want that a file has the same mtime in local and on remote. But after it is...
Yeah so if I understand it correctly it will end up with something like this: - 2020-01-01 Disconnect sync - 2020-06-01 Modify my file "note.md" - 2020-12-01 Reconnect sync -...
This should now be achiveable with append - just append nothing, and set the write options to overwrite the mtime.
I'm assuming you're using the `registerExtensions` and `registerView` APIs to hook up your extension. 1. is a known issue, the link suggestion currently does not take into account dynamically registered...
These should be already addressed a while back.