MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / routeContent

Function routeContent

scripts/check-route-trees.ts:59–63  ·  view source on GitHub ↗
(source: string)

Source from the content-addressed store, hash-verified

57 * lines cannot encode a route, so dropping them loses no signal.
58 */
59const routeContent = (source: string): string =>
60 source
61 .split("\n")
62 .filter((line) => line.trim() !== "")
63 .join("\n");
64
65// Snapshot the committed content so a failed run leaves the checkout exactly as
66// it found it — this script must be safe to run on a dirty working tree.

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected