* Resolves to a code FileInfo for the file. * * @example Usage * ```ts ignore * import { assert } from "@std/assert"; * import { open } from "@std/fs/unstable-open"; * using file = await open("hello.txt"); * const fileInfo = await file.stat(); * assert(fileInfo.isFile)
()
| 368 | * ``` |
| 369 | */ |
| 370 | stat(): Promise<FileInfo>; |
| 371 | /** |
| 372 | * Synchronously returns a {@linkcode FileInfo} for the file. |
| 373 | * |
no outgoing calls
no test coverage detected