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

Function worktreesRoot

engine/src/kild/worktree.ts:27–29  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

25
26/**
27 * The canonical spelling of a path — symlinks resolved, whether or not it exists yet.
28 *
29 * One directory must have ONE spelling in this engine, because half the paths here come
30 * from git (which always reports the resolved form) and half are built from `$KILD_HOME`
31 * (which is whatever the operator's environment says). On macOS those differ for anything
32 * under `/var`, which is a symlink to `/private/var` — so a tree kild had just created did

Callers 3

server.tsFile · 0.90
runFunction · 0.90
worktreePathFunction · 0.85

Calls 2

kildHomeFunction · 0.90
joinMethod · 0.80

Tested by

no test coverage detected