IF Commons GitHub

physical/ontology/ontology

Written to: 4 requirements: 4 proved, 0 partly, 0 failing, 0 with no test recorded. 0004-toolchain-ontology FR-001, 0004-toolchain-ontology FR-002, 0004-toolchain-ontology FR-003, 0004-toolchain-ontology FR-004

The source of pins over the packaging ontology: for a pin and a platform, the version, the address, the SHA-256, the format and the folder of the publisher's artifact, or the reason the ontology gives that there is none (an unknown pin or platform, a pin not pinned, a platform unpinned with its reason, a malformed checksum). It holds no data of its own: the ontology is the one place a version and a hash are written, and every download it gives is checked again by defineDownload.

import { pinSourceFromOntology } from "./ontology.ts";
pinSourceFromOntology().lookup(pin, "linux-x64"); // a Result of a Download, or the ontology's reason

Source: commons/toolchain/src/physical/ontology/ontology.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.

pinSourceFromOntologyfunction
function pinSourceFromOntology(): PinSource

A source of pins that reads the downloads of the packaging ontology.

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

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