interface StatResult
Since 0.1.0

File metadata returned by IFileSystem.stat.

Properties

readonly
isFile: boolean

Whether the path is a regular file.

readonly
isDirectory: boolean

Whether the path is a directory.

readonly
size: number

Size in bytes.

readonly
optional
mtime: Date

Last modification time, when the runtime provides it.

Usage

import { type StatResult } from "common/src/index.ts";