Filestat

data class Filestat(val dev: Device, val ino: Inode, val fileType: Filetype, val nlink: Linkcount, val size: FileSize, val atim: Timestamp, val mtim: Timestamp, val ctim: Timestamp)(source)

File attributes.

Constructors

Link copied to clipboard
constructor(dev: Device, ino: Inode, fileType: Filetype, nlink: Linkcount, size: FileSize, atim: Timestamp, mtim: Timestamp, ctim: Timestamp)

Types

Link copied to clipboard

Properties

Link copied to clipboard

Last data access timestamp.

Link copied to clipboard

Last file status change timestamp.

Link copied to clipboard
val dev: Device

Device ID of device containing the file.

Link copied to clipboard

File type.

Link copied to clipboard
val ino: Inode

File serial number.

Link copied to clipboard

Last data modification timestamp.

Link copied to clipboard

Number of hard links to the file.

Link copied to clipboard

For regular files, the file size in bytes. For symbolic links, the length in bytes of the pathname contained in the symbolic link.