readPackfunctionno test imports itfunction readPack(root: string): Promise<PackFiles>The files of a folder, by path with / under it.
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.
readPackfunctionno test imports itfunction readPack(root: string): Promise<PackFiles>The files of a folder, by path with / under it.