MCPcopy Index your code
hub / github.com/VSpaceCode/VSpaceCode / getRelativePath

Function getRelativePath

src/pathCommands.ts:39–41  ·  view source on GitHub ↗
(activeEditor: TextEditor)

Source from the content-addressed store, hash-verified

37}
38
39export function getRelativePath(activeEditor: TextEditor) {
40 return _getPath(activeEditor, true).fsPath;
41}
42
43export function getRelativePathWithLine(activeEditor: TextEditor) {
44 const active = _getPath(activeEditor, true);

Callers

nothing calls this directly

Calls 1

_getPathFunction · 0.85

Tested by

no test coverage detected