DataAdapter โบ stat
DataAdapter.stat() method
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 normalizePath() to normalize beforehand. |
Returns:
Promise<Stat | null>