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

Method fileExists

extensions/vscode/src/util/ideUtils.ts:108–114  ·  view source on GitHub ↗
(uri: vscode.Uri)

Source from the content-addressed store, hash-verified

106 }
107
108 async fileExists(uri: vscode.Uri): Promise<boolean> {
109 try {
110 return (await this.stat(uri)) !== null;
111 } catch {
112 return false;
113 }
114 }
115
116 /**
117 * Read the entire contents of a file from the given URI.

Callers

nothing calls this directly

Calls 1

statMethod · 0.95

Tested by

no test coverage detected