* Get file statistics * @param path Absolute or relative path to file/directory * @param abortSignal Optional abort signal for cancellation * @returns File statistics * @throws RuntimeError if path does not exist or cannot be accessed
(path: string, abortSignal?: AbortSignal)
| 395 | * @throws RuntimeError if path does not exist or cannot be accessed |
| 396 | */ |
| 397 | stat(path: string, abortSignal?: AbortSignal): Promise<FileStat>; |
| 398 | |
| 399 | /** |
| 400 | * Ensure a directory exists (mkdir -p semantics). |
no outgoing calls