IF Commons GitHub

physical/verbs/merge

Written to: 2 requirements: 2 proved, 0 partly, 0 failing, 0 with no test recorded. 0004-anyfs-cli-surfaces FR-015, 0004-anyfs-cli-surfaces FR-014

The verbs of the program for stores that merge (commons anyfs-cli 0004-anyfs-cli-surfaces FR-014, FR-015): merge A B brings two stores that both merge together by a plan with a hash (what each takes from the other), and applies only what the hash approves; sync-medium STORE MEDIUM exchanges a store that merges with a shared place, publishing the rows it made as delta files and taking the files of the others. Neither has a conflict to settle, so neither has a policy. What the exchange keeps of itself (the cursor) is a small file in the state folder, named by the two sides.

import { mergeVerbs } from "./merge.ts";
// mergeVerbs(host).map((v) => v.name); // ["merge", "sync-medium"]

Source: commons/anyfs-cli/src/physical/verbs/merge.ts

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

mergeVerbsfunctionno test imports it
function mergeVerbs(host: Host): readonly Node[]

The verbs for stores that merge.

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