IF Commons GitHub

physical/directory

Written to: 2 requirements: 2 proved, 0 partly, 0 failing, 0 with no test recorded. 0006-grc-evidence FR-001, 0006-grc-evidence FR-002

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.

Source: commons/grc/src/physical/directory.ts

0 of 2 exports are imported by a test of the run. A test that imports an export may not call it or check what it returns.

physical.directoryStorefunctionno test imports it
function directoryStore(dir: string, id: string): EvidenceStore

A store in the folder dir, made if it is not there; id is the store's id in a registry.

directoryStorefunctionno test imports it
function directoryStore(dir: string, id: string): EvidenceStore

A store in the folder dir, made if it is not there; id is the store's id in a registry.

Titles, headings, exports, tables, columns and requirements. Esc closes.