IF Commons GitHub

physical/site

Written to: 1 requirement: 1 proved, 0 partly, 0 failing, 0 with no test recorded. 0002-report-site FR-007

Writing a site to a folder (0002-report-site FR-007): each file to its place, the folder made where it is not there, and a file that is already there replaced only by the same path of the same site, so that a report is made again and never merged into another's folder.

import { writeSite } from "./site.ts";
typeof writeSite; // "function"

Source: commons/posture-report/src/physical/site.ts

1 of 2 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.writeSitefunctionno test imports it
function writeSite(dir: string, site: Site): Promise<readonly string[]>

Writes the files of a site under a folder, and returns the paths written in order.

writeSitefunction
function writeSite(dir: string, site: Site): Promise<readonly string[]>

Writes the files of a site under a folder, and returns the paths written in order.

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

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