MCPcopy Create free account
hub / github.com/continuedev/continue / getGitRootPath

Method getGitRootPath

extensions/vscode/src/VsCodeIde.ts:669–672  ·  view source on GitHub ↗
(dir: string)

Source from the content-addressed store, hash-verified

667 }
668
669 async getGitRootPath(dir: string): Promise<string | undefined> {
670 const root = await this.ideUtils.getGitRoot(vscode.Uri.parse(dir));
671 return root?.toString();
672 }
673
674 async listDir(dir: string): Promise<[string, FileType][]> {
675 const entries = await this.ideUtils.readDirectory(vscode.Uri.parse(dir));

Callers

nothing calls this directly

Calls 1

getGitRootMethod · 0.80

Tested by

no test coverage detected