Expand description
<data_dir>/cloud/projects.json: the vaults Cloud resolved for this machine’s repositories
and the local checkouts seen for each. Written when a checkout is resolved; read wherever a
checkout’s vault matters (bus, sync, and the per-vault policy floor).
Structs§
- Vault
Map <data_dir>/cloud/projects.json: stable identity → resolved vault.- Vault
Record - A vault as Cloud resolved it, plus the local checkouts seen for it.
Constants§
- VAULTS_
FILE - The file keeps its pre-VA name, like the field names in it: an older engine (downgrade, or a teammate’s machine) still reads it.
Functions§
- vault_
scope - The scope a vault id is valid in (rc3-81, rc4-2, rc4-6): the Cloud at
originand the account (org)org_idon it, as one string soprojects.jsonkeeps its shape (theoriginfield):<origin>#org=<org_id>, the origin normalized likestored_origin. An emptyorg_idgives the origin alone.