(uri: vscode.Uri)
| 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. |