WORKSPACE_METADATA_FILE, LIST_METADATA_FILE and the 64KB frontmatter cap each existed in two places (storage.rs and sync.rs) with identical values. parse_frontmatter_for_conflict even repeated the cap as a magic number with the byte count baked into the error string. Promote the storage definitions to pub(crate) and import them so any future tweak (e.g. raising the frontmatter cap) only needs one edit. |
||
|---|---|---|
| .. | ||
| src | ||
| Cargo.toml | ||