MCPcopy Index your code
hub / github.com/continuedev/continue / fileExists

Method fileExists

extensions/vscode/src/VsCodeIde.ts:73–83  ·  view source on GitHub ↗
(uri: string)

Source from the content-addressed store, hash-verified

71 }
72
73 async fileExists(uri: string): Promise<boolean> {
74 try {
75 const stat = await this.ideUtils.stat(vscode.Uri.parse(uri));
76 return stat !== null;
77 } catch (error) {
78 if (error instanceof vscode.FileSystemError) {
79 return false;
80 }
81 throw error;
82 }
83 }
84
85 async gotoDefinition(location: Location): Promise<RangeInFile[]> {
86 const result = await executeGotoProvider({

Callers

nothing calls this directly

Calls 1

statMethod · 0.80

Tested by

no test coverage detected