* Gets stats for the watched path. * @returns {Stats|null} The stats or null if file doesn't exist
()
| 103 | * @returns {Stats|null} The stats or null if file doesn't exist |
| 104 | */ |
| 105 | #getStats() { |
| 106 | try { |
| 107 | return this.#vfs.statSync(this.#path); |
| 108 | } catch { |
| 109 | return null; |
| 110 | } |
| 111 | } |
| 112 | |
| 113 | /** |
| 114 | * Starts the polling timer. |
no test coverage detected