FileStat

interface FileStat(source)

The FileStat-type represents metadata about a file

Online Documentation

Properties

Link copied to clipboard
abstract external var ctime: JsInt53

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

Link copied to clipboard
abstract external var mtime: JsInt53

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

Link copied to clipboard
abstract external var permissions: FilePermission?

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

Link copied to clipboard
abstract external var size: Int

The size in bytes.

Link copied to clipboard
abstract external var type: FileType

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