Repository navigation
Attachments
- Add
Vault.listFileStats(), which lists every synced file including attachments such as images. Hidden internal files (i:) are excluded and reserved paths are enforced. - Add
Vault.readFile(path), which returns a file's bytes asUint8Array, ornullwhen it is missing, incomplete or cannot be decoded. - Binary documents are decoded chunk by chunk, since LiveSync encodes each piece separately; LiveSync's legacy
%encoding is supported as well. Text documents are returned as UTF-8.
Existing Markdown APIs (listNoteStats, readNote, …) are unchanged.
Validation
Type checking, 170 tests, and the library build passed.