Constants for use in Fs
module.
Note: Not every constant will be available on every operating system.
Fields
X_OK:Int
Flag indicating that the file can be executed by the calling process.
Meant for use with Fs.access
.
W_OK:Int
Flag indicating that the file can be written by the calling process.
Meant for use with Fs.access
.
R_OK:Int
Flag indicating that the file can be read by the calling process.
Meant for use with Fs.access
.
O_TRUNC:Int
Flag indicating that if the file exists and is a regular file, and the file is opened successfully for write access, its length shall be truncated to zero.
O_SYMLINK:Int
Flag indicating to open the symbolic link itself rather than the resource it is pointing to.
O_NOCTTY:Int
Flag indicating that if path identifies a terminal device, opening the path shall not cause that terminal to become the controlling terminal for the process (if the process does not already have one).
O_NOATIME:Int
Flag indicating reading accesses to the file system will no longer result in an update to the atime information associated with the file. This flag is available on Linux operating systems only.