What
Folder sync ships its own git: an append-only object store on disk, packfile encoding and decoding, bundle create and receive, and a cached file-hash index so unchanged files are not re-hashed. It replaces the old row-journal approach. Reachable only for sessions started against a folder, and an internal boolean decides whether the store gets attached at all.
Details
- Object store segment files are named
<session>.<seq>-<hex>.segand stampedccobjs. - Packfile decoding resolves offset and reference deltas, rejects thin packs, and enforces decompression and object-count budgets.
- Bundle receive checks prerequisites before applying.
- The file-hash index persists as
stat-cache.json. - The store refuses non-canonical objects, names in the style of
.git,.gitmodulesand.gitattributes, and objects over its size cap.
Evidence
dir-sync object store: opened with
Strings lifted out of the shipped bundle, so the claim above can be checked against them.