method IFileSystem.stat
IFileSystem.stat(path: string): Promise<StatResult>

Returns file metadata.

Parameters

path: string

File path

Return Type

Promise<StatResult>

The stat result

Usage

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