MCPcopy Create free account
hub / github.com/Wirasm/kild / errText

Function errText

engine/src/kild/worktree.ts:15–15  ·  view source on GitHub ↗
(err: unknown)

Source from the content-addressed store, hash-verified

13
14const errText = (err: unknown): string => (err instanceof Error ? err.message : String(err));
15
16/** A git worktree on disk — kild's local isolation strategy. `branch` is the full
17 * `kild/<name>` ref, `path` the deterministic dir under `$KILD_HOME/worktrees`;
18 * `name` is the kild worktree name (branch minus the `kild/` prefix), undefined for

Callers 1

doPruneMergedFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected