Stat
Official
A stat for a file or folder.
Import:
import type { Stat } from 'obsidian';Signature:
export interface StatProperties
| Property | Type | Description | |
|---|---|---|---|
| ctime | number | Time of creation, represented as a unix timestamp. | |
| mtime | number | Time of last modification, represented as a unix timestamp. | |
| size | number | Size on disk in bytes. | |
| type | 'file' | 'folder' | The type of the stat. |
Links to this page: