* Truncates the file. * @param {number} [len] The new length * @returns {Promise }
(len)
| 223 | * @returns {Promise<void>} |
| 224 | */ |
| 225 | async truncate(len) { |
| 226 | this.#checkClosed('ftruncate'); |
| 227 | throw new ERR_METHOD_NOT_IMPLEMENTED('truncate'); |
| 228 | } |
| 229 | |
| 230 | /** |
| 231 | * Truncates the file synchronously. |
nothing calls this directly
no test coverage detected