* Checks if a path exists synchronously. * @param {string} filePath The path to check * @returns {boolean}
(filePath)
| 221 | * @returns {boolean} |
| 222 | */ |
| 223 | existsSync(filePath) { |
| 224 | try { |
| 225 | const providerPath = this.#toProviderPath(filePath); |
| 226 | return this[kProvider].existsSync(providerPath); |
| 227 | } catch { |
| 228 | return false; |
| 229 | } |
| 230 | } |
| 231 | |
| 232 | /** |
| 233 | * Gets stats for a path synchronously. |
nothing calls this directly
no test coverage detected