DescriptorFlags

data class DescriptorFlags(val read: Boolean = false, val write: Boolean = false, val nonBlocking: Boolean = false, val fileIntegritySync: Boolean = false, val dataIntegritySync: Boolean = false, val requestedWriteSync: Boolean = false, val mutateDirectory: Boolean = true)

Descriptor flags.

Note: This was called fdflags in earlier versions of WASI.

Constructors

Link copied to clipboard
constructor(read: Boolean = false, write: Boolean = false, nonBlocking: Boolean = false, fileIntegritySync: Boolean = false, dataIntegritySync: Boolean = false, requestedWriteSync: Boolean = false, mutateDirectory: Boolean = true)

Properties

Link copied to clipboard

Request that writes be performed according to synchronized I/O data integrity completion. Only the data stored in the file is synchronized.

Link copied to clipboard

Request that writes be performed according to synchronized I/O file integrity completion. The data stored in the file and the file's metadata are synchronized.

Link copied to clipboard

Mutating directories mode: Directory contents may be mutated.

Link copied to clipboard
val nonBlocking: Boolean = false

Requests non-blocking operation.

Link copied to clipboard
val read: Boolean = false

Read mode: Data can be read.

Link copied to clipboard

Requests that reads be performed at the same level of integrety requested for writes.

Link copied to clipboard
val write: Boolean = false

Write mode: Data can be written to.