MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / nativeRealpath

Function nativeRealpath

src/sync/worktree.ts:180–186  ·  view source on GitHub ↗
(p: string)

Source from the content-addressed store, hash-verified

178}
179
180function nativeRealpath(p: string): string {
181 try {
182 return fs.realpathSync.native(path.resolve(p));
183 } catch {
184 return realpath(p);
185 }
186}
187
188/**
189 * Whether two paths name one directory, however each is spelled. For

Callers 2

nestedRepositoryBelowFunction · 0.85
directoryIdentityFunction · 0.85

Calls 2

realpathFunction · 0.70
resolveMethod · 0.65

Tested by

no test coverage detected