Modes

data class Modes(val readable: Boolean = false, val writeable: Boolean = false, val executable: Boolean = false)

Permissions mode used by openAt, changeFilePermissionsAt, and similar.

Constructors

Link copied to clipboard
constructor(readable: Boolean = false, writeable: Boolean = false, executable: Boolean = false)

Properties

Link copied to clipboard
val executable: Boolean = false

True if the resource is considered executable by the containing filesystem. This does not apply to directories.

Link copied to clipboard
val readable: Boolean = false

True if the resource is considered readable by the containing filesystem.

Link copied to clipboard
val writeable: Boolean = false

True if the resource is considered writeable by the containing filesystem.