FileStat

interface FileStat(source)

The FileStat-type represents metadata about a file

Online Documentation

Properties

Link copied to clipboard
abstract var ctime: JsInt53

The creation timestamp in milliseconds elapsed since January 1, 1970 00:00:00 UTC.

Link copied to clipboard
abstract var mtime: JsInt53

The modification timestamp in milliseconds elapsed since January 1, 1970 00:00:00 UTC.

Link copied to clipboard

The permissions of the file, e.g. whether the file is readonly.

Link copied to clipboard
abstract var size: Int

The size in bytes.

Link copied to clipboard
abstract var type: FileType

The type of the file, e.g. is a regular file, a directory, or symbolic link to a file.