MCPcopy
hub / github.com/VSCodeVim/Vim / Path

Interface Path

src/util/path.ts:10–21  ·  view source on GitHub ↗

* A interface to the path in the node.js.

Source from the content-addressed store, hash-verified

8 * A interface to the path in the node.js.
9 */
10interface Path {
11 normalize(p: string): string;
12 join(...paths: string[]): string;
13 resolve(...pathSegments: string[]): string;
14 isAbsolute(p: string): boolean;
15 relative(from: string, to: string): string;
16 dirname(p: string): string;
17 basename(p: string, ext?: string): string;
18 extname(p: string): string;
19 sep: string;
20 delimiter: string;
21}
22
23/**
24 * Separate a partial path or full path into dirname and the basename.

Callers 29

newTestGenericFunction · 0.80
applyDocStateFunction · 0.80
testItWithRemapsFunction · 0.80
extension.test.tsFile · 0.80
assertEqualLinesFunction · 0.80
setupWorkspaceFunction · 0.80
setupTestWithLinesFunction · 0.80
easymotionCommandFunction · 0.80
webpack.config.jsFile · 0.65
updatePathFunction · 0.65
mainFunction · 0.65
runFunction · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected