Interface Stat

Interface defining information about a file.

Hierarchy

  • Stat

Properties

accessed?: Date
created?: Date
exists: boolean

True if the file exists. False otherwise.

isDirectory: boolean

True if the resource exists as a directory.

isFile: boolean

True if the resource exists as a regular file.

mimeType?: string

If specified, the mime-type of the remote file.

modified?: Date

UniversalPath resource pointing to the file in its filesystem.

sizeInBytes: number

The size, in bytes, of the file on the remote filesystem. If exists is false, this number is undefined.

tags: string[]

Tags associated with the remote file.