Skip to content

DataAdapter.stat method

DataAdapter › stat

Official

Retrieve metadata about the given file/folder.

Signature:

stat(normalizedPath: string): Promise<Stat | null>

Parameters:

Parameter Type Description
normalizedPath string path to file/folder, use {@link normalizePath} to normalize beforehand.

Returns: Promise<Stat | null>

Since: 0.12.2