IF Commons GitHub

logical/requirements

Written to: 1 requirement: 1 proved, 0 partly, 0 failing, 0 with no test recorded. 0003-toolchain-logical FR-006

The requirements of Archon for a resolution: one of kind tool for each resolved tool, with the id tool.<name>, a dependency on the requirement of each tool it needs, and as its desired state data that names the tool, the version it is carried out at, its program, its other names, its minimum, its scope, its phases, the dialect and the source (the download a pin gave, or the packages). They are made, never written: the version and the hash in them come from the pin, and Archon orders and plans them for the dialect that was chosen.

import { requirementsFor } from "./requirements.ts";
// requirementsFor(resolution, { by: "all" }) is a Result of the requirements of kind tool

Source: commons/toolchain/src/logical/requirements.ts

1 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.

requirementsForfunction
function requirementsFor(resolution: Resolution, subject: SubjectSelectorInput): Result<readonly Requirement[], readonly string[]>

The requirements of kind tool for a resolution and a selector of subjects, or every reason one is refused.

Imported by 8 tests of the run (8 passed, 0 failed): the library's results

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