Expand description
Filesystem layout for a vault and its derived index (§5.1, §5.2).
Layout:
<vault>/
├── memos/<YYYY>/<MM>/<id>.md
├── assets/<blake3hex>.<ext> # images referenced as oximg://<name>
├── .trash/<id>.md
└── config.toml
<app_support>/index/
├── meta.redb
├── meta.redb.lock
├── search/
└── by-vault/<hash>/ # only for custom `--vault` pathsStructs§
- Paths
- Resolved filesystem locations for one vault.
Constants§
- APP_
SUPPORT_ SUBDIR - ASSETS_
DIR - BY_
VAULT_ SUBDIR - CONFIG_
NAME - INDEX_
SUBDIR - MEMOS_
DIR - META_
DB_ NAME - META_
LOCK_ NAME - SEARCH_
SUBDIR - TRASH_
DIR - VAULT_
DEFAULT_ SUBDIR
Functions§
- app_
support_ dir ~/Library/Application Support/com.oximemo.app(macOS default).