MCPcopy Index your code
hub / github.com/WebFreak001/code-debug / getNativePath

Method getNativePath

src/source_file_map.ts:40–45  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

38 // allowing non-native path types to be tested by overriding this method in
39 // a subclass in the test harness.
40 protected getNativePath(): PathKind {
41 if (process.platform == "win32")
42 return PathWin32.getInstance();
43 else
44 return PathPosix.getInstance();
45 }
46
47 private toPathKind(unknownPath: string): PathKind {
48 const pathPosix: PathKind = PathPosix.getInstance();

Callers 1

constructorMethod · 0.95

Calls 1

getInstanceMethod · 0.45

Tested by

no test coverage detected