physical.PACKAGE_DIRconstno test imports itconst PACKAGE_DIR: stringThe folder of the package: the one the loader of grc reads.
The files of the package (0002-soc2-package FR-002, FR-003, FR-004): from the criteria to the text of each file, with the manifest's digests, and the folder where they are kept. Making is pure; reading and writing the folder is the tool's.
import { PACKAGE_DIR } from "./package.ts";
PACKAGE_DIR.endsWith("data"); // truephysical.PACKAGE_DIRconstno test imports itconst PACKAGE_DIR: stringThe folder of the package: the one the loader of grc reads.
physical.makePackagefunctionno test imports itfunction makePackage(sourceDigest: string): Promise<ReadonlyMap<string, string>>The text of every file of the package, by its path, given the SHA-256 of the source file the criteria are in.
physical.digestOffunctionno test imports itfunction digestOf(bytes: Uint8Array<ArrayBufferLike>): Promise<string>The SHA-256 of the bytes of the source file, as the package records it.
PACKAGE_DIRconstconst PACKAGE_DIR: stringThe folder of the package: the one the loader of grc reads.
makePackagefunctionfunction makePackage(sourceDigest: string): Promise<ReadonlyMap<string, string>>The text of every file of the package, by its path, given the SHA-256 of the source file the criteria are in.
digestOffunctionfunction digestOf(bytes: Uint8Array<ArrayBufferLike>): Promise<string>The SHA-256 of the bytes of the source file, as the package records it.