MCPcopy Create free account
hub / github.com/garrytan/gstack / baselinePath

Function baselinePath

test/helpers/transcript-section-logger.ts:155–157  ·  view source on GitHub ↗
(situation: string, dir = DEFAULT_BASELINE_DIR)

Source from the content-addressed store, hash-verified

153
154/** Where a baseline for a given situation lives. */
155export function baselinePath(situation: string, dir = DEFAULT_BASELINE_DIR): string {
156 return path.join(dir, `${situation}.json`);
157}
158
159/** Persist a ship baseline (used once on the monolith, before the carve). */
160export function writeShipBaseline(baseline: ShipBaseline, dir = DEFAULT_BASELINE_DIR): string {

Callers 3

writeShipBaselineFunction · 0.85
readShipBaselineFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected