IF Commons GitHub

assessor/verify

Written to: 1 requirement: 1 proved, 0 partly, 0 failing, 0 with no test recorded. 0001-quality-evidence FR-064

verify.ts, the command of the offline verifier (commons 0001-quality-evidence FR-064, FR-066): reads a pack's folder and runs verifyPack on it, with no network and no account. It is in the pack, beside verify-pack.ts, so that a pack checks itself:

bun verify/verify.ts            # the pack that holds this file
node verify/verify.ts ./pack    # a pack at another place (Node 26)

Exit status: 0 where the pack is verified, 1 where a check failed, 3 where part of the pack could not be checked and so it is not reported verified, 2 where the command line does not fit.

Source: commons/quality/src/assessor/verify.ts

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

readPackfunctionno test imports it
function readPack(root: string): Promise<PackFiles>

The files of a folder, by path with / under it.

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