MCPcopy Create free account
hub / github.com/callstack/agent-device / resolveExistingPath

Function resolveExistingPath

src/daemon/session-routing.ts:76–83  ·  view source on GitHub ↗
(rawPath: string)

Source from the content-addressed store, hash-verified

74}
75
76function resolveExistingPath(rawPath: string): string {
77 const resolved = path.resolve(rawPath);
78 try {
79 return fs.realpathSync.native(resolved);
80 } catch {
81 return resolved;
82 }
83}
84
85function findGitWorktreeRoot(startDir: string): string | undefined {
86 let current = startDir;

Callers 1

resolveCallerScopeRootFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…