Module constants
Index
Variables
- F_
OK - O_
APPEND - O_
CREAT - O_
DIRECT - O_
DIRECTORY - O_
EXCL - O_
NOATIME - O_
NOCTTY - O_
NOFOLLOW - O_
NONBLOCK - O_
RDONLY - O_
RDWR - O_
SYMLINK - O_
SYNC - O_
TRUNC - O_
WRONLY - R_
OK - S_
IFBLK - S_
IFCHR - S_
IFDIR - S_
IFIFO - S_
IFLNK - S_
IFMT - S_
IFREG - S_
IFSOCK - S_
IRGRP - S_
IROTH - S_
IRUSR - S_
IRWXG - S_
IRWXO - S_
IRWXU - S_
IWGRP - S_
IWOTH - S_
IWUSR - S_
IXGRP - S_
IXOTH - S_
IXUSR - W_
OK - X_
OK
Variables
Const F_OK
Const O_APPEND
Constant for fs.open(). Flag indicating that data will be appended to the end of the file.
Const O_CREAT
Constant for fs.open(). Flag indicating to create the file if it does not already exist.
Const O_DIRECT
Constant for fs.open(). When set, an attempt will be made to minimize caching effects of file I/O.
Const O_DIRECTORY
Constant for fs.open(). Flag indicating that the open should fail if the path is not a directory.
Const O_EXCL
Constant for fs.open(). Flag indicating that opening a file should fail if the O_CREAT flag is set and the file already exists.
Const O_NOATIME
Constant for fs.open(). 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.
Const O_NOCTTY
Constant for fs.open(). 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).
Const O_NOFOLLOW
Constant for fs.open(). Flag indicating that the open should fail if the path is a symbolic link.
Const O_NONBLOCK
Constant for fs.open(). Flag indicating to open the file in nonblocking mode when possible.
Const O_RDONLY
Constant for fs.open(). Flag indicating to open a file for read-only access.
Const O_RDWR
Constant for fs.open(). Flag indicating to open a file for read-write access.
Const O_SYMLINK
Constant for fs.open(). Flag indicating to open the symbolic link itself rather than the resource it is pointing to.
Const O_SYNC
Constant for fs.open(). Flag indicating that the file is opened for synchronous I/O.
Const O_TRUNC
Constant for fs.open(). 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.
Const O_WRONLY
Constant for fs.open(). Flag indicating to open a file for write-only access.
Const R_OK
Constant for fs.access(). File can be read by the calling process.
Const S_IFBLK
Constant for fs.Stats mode property for determining a file's type. File type constant for a block-oriented device file.
Const S_IFCHR
Constant for fs.Stats mode property for determining a file's type. File type constant for a character-oriented device file.
Const S_IFDIR
Constant for fs.Stats mode property for determining a file's type. File type constant for a directory.
Const S_IFIFO
Constant for fs.Stats mode property for determining a file's type. File type constant for a FIFO/pipe.
Const S_IFLNK
Constant for fs.Stats mode property for determining a file's type. File type constant for a symbolic link.
Const S_IFMT
Constant for fs.Stats mode property for determining a file's type. Bit mask used to extract the file type code.
Const S_IFREG
Constant for fs.Stats mode property for determining a file's type. File type constant for a regular file.
Const S_IFSOCK
Constant for fs.Stats mode property for determining a file's type. File type constant for a socket.
Const S_IRGRP
Constant for fs.Stats mode property for determining access permissions for a file. File mode indicating readable by group.
Const S_IROTH
Constant for fs.Stats mode property for determining access permissions for a file. File mode indicating readable by others.
Const S_IRUSR
Constant for fs.Stats mode property for determining access permissions for a file. File mode indicating readable by owner.
Const S_IRWXG
Constant for fs.Stats mode property for determining access permissions for a file. File mode indicating readable, writable and executable by group.
Const S_IRWXO
Constant for fs.Stats mode property for determining access permissions for a file. File mode indicating readable, writable and executable by others.
Const S_IRWXU
Constant for fs.Stats mode property for determining access permissions for a file. File mode indicating readable, writable and executable by owner.
Const S_IWGRP
Constant for fs.Stats mode property for determining access permissions for a file. File mode indicating writable by group.
Const S_IWOTH
Constant for fs.Stats mode property for determining access permissions for a file. File mode indicating writable by others.
Const S_IWUSR
Constant for fs.Stats mode property for determining access permissions for a file. File mode indicating writable by owner.
Const S_IXGRP
Constant for fs.Stats mode property for determining access permissions for a file. File mode indicating executable by group.
Const S_IXOTH
Constant for fs.Stats mode property for determining access permissions for a file. File mode indicating executable by others.
Const S_IXUSR
Constant for fs.Stats mode property for determining access permissions for a file. File mode indicating executable by owner.
Const W_OK
Constant for fs.access(). File can be written by the calling process.
Const X_OK
Constant for fs.access(). File can be executed by the calling process.
Generated using TypeDoc
Constant for fs.access(). File is visible to the calling process.