physical.directoryStorefunctionno test imports itfunction directoryStore(dir: string, id: string): EvidenceStoreA store in the folder dir, made if it is not there; id is the store's id in a registry.
A store kept in a folder (0006-grc-evidence FR-002), which the units files and git are made of: a folder of objects named by their SHA-256 (objects/<digest>) and the evidence document that describes each (evidence/<digest>.json). An object is written to a temporary name and renamed, so that a partial object is never read, and a temporary file is never listed.
physical.directoryStorefunctionno test imports itfunction directoryStore(dir: string, id: string): EvidenceStoreA store in the folder dir, made if it is not there; id is the store's id in a registry.
directoryStorefunctionno test imports itfunction directoryStore(dir: string, id: string): EvidenceStoreA store in the folder dir, made if it is not there; id is the store's id in a registry.