Skip to content

Conversation

@kdnk
Copy link
Contributor

@kdnk kdnk commented Feb 23, 2025

Use this.app.vault.process for more safe file modifications.
ref. https://youtu.be/RvtV9DKr3ag?si=ch9cn9T0HMlNtoGg&t=52
ref. https://docs.obsidian.md/Plugins/Vault#Modify+files

@kdnk kdnk marked this pull request as ready for review February 23, 2025 06:33
@pjkaufman
Copy link
Collaborator

Hey @kdnk , sorry about the delay in responding to this PR. I do like the idea of doing this. And it is likely something we should do. I am just not 100% on board with doing this right now since I am off and on working on getting the logic to run in an async way. This would mean that we would have to get rid of the vault.process logic. This is not to say I will not merge this. I am just not decided yet on whether or not to merge the PR.

Hopefully that makes sense while I think this over.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants