IF Commons GitHub

physical/verbs/check

Written to: 1 requirement: 1 proved, 0 partly, 0 failing, 0 with no test recorded. 0003-repoctl-sync FR-007

repoctl check, repoctl status and repoctl doctor on Headless (commons repoctl 0003-repoctl-sync FR-007, FR-009; 0004-repoctl-status-release FR-001 to FR-003; 0005-repoctl-library-commit-doctor FR-008): the verbs that only read. check runs every check of the repository and ends in one calm report whose findings carry a code that repoctl explain <code> explains; status tells each library's version in the repository, on npm and in its tag, as a table or as JSON, without the network with --offline; doctor says what is wrong with the checkout and what to do.

import { checkVerb } from "@intellectual-frontiers/repoctl/physical";
typeof checkVerb; // "function"

Source: commons/repoctl/src/physical/verbs/check.ts

0 of 12 exports are imported by a test of the run. A test that imports an export may not call it or check what it returns.

physical.checkTextfunctionno test imports it
function checkText(r: CheckReport): string

The lines of a check report for a person: one for each section, its mark and its title.

physical.checkVerbconstno test imports it
const checkVerb: Make

repoctl check.

physical.statusVerbconstno test imports it
const statusVerb: Make

repoctl status.

physical.doctorVerbconstno test imports it
const doctorVerb: Make

repoctl doctor.

physical.hygieneTextfunctionno test imports it
function hygieneText(findings: readonly HygieneFinding[], repository: "consumer" | "source"): string

The lines of a hygiene report for a person: each finding with its path, and one line for the counts.

physical.hygieneVerbconstno test imports it
const hygieneVerb: Make

repoctl hygiene.

checkTextfunctionno test imports it
function checkText(r: CheckReport): string

The lines of a check report for a person: one for each section, its mark and its title.

checkVerbconstno test imports it
const checkVerb: Make

repoctl check.

statusVerbconstno test imports it
const statusVerb: Make

repoctl status.

doctorVerbconstno test imports it
const doctorVerb: Make

repoctl doctor.

hygieneTextfunctionno test imports it
function hygieneText(findings: readonly HygieneFinding[], repository: "consumer" | "source"): string

The lines of a hygiene report for a person: each finding with its path, and one line for the counts.

hygieneVerbconstno test imports it
const hygieneVerb: Make

repoctl hygiene.

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