MCPcopy Index your code
hub / github.com/callstack/agent-device / resolveRealPath

Function resolveRealPath

src/daemon/config.ts:73–79  ·  view source on GitHub ↗
(filePath: string)

Source from the content-addressed store, hash-verified

71}
72
73function resolveRealPath(filePath: string): string {
74 try {
75 return fs.realpathSync.native(filePath);
76 } catch {
77 return path.resolve(filePath);
78 }
79}
80
81export function resolveDaemonServerMode(raw: string | undefined): DaemonServerMode {
82 const normalized = (raw ?? '').trim().toLowerCase();

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…