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-csf2-package FR-002, FR-003, FR-004): from the source value 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(source: Source): Promise<ReadonlyMap<string, string>>The text of every file of the package, by its path: the framework and the manifest that holds its digest.
physical.digestOffunctionno test imports itfunction digestOf(bytes: Uint8Array<ArrayBufferLike>): Promise<string>The SHA-256 of the bytes of a source file, as the package pins it.
PACKAGE_DIRconstconst PACKAGE_DIR: stringThe folder of the package: the one the loader of grc reads.
makePackagefunctionfunction makePackage(source: Source): Promise<ReadonlyMap<string, string>>The text of every file of the package, by its path: the framework and the manifest that holds its digest.
digestOffunctionno test imports itfunction digestOf(bytes: Uint8Array<ArrayBufferLike>): Promise<string>The SHA-256 of the bytes of a source file, as the package pins it.