constants | typescript
Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Variables

Const F_OK

F_OK: number

Constant for fs.access(). File is visible to the calling process.

Const O_APPEND

O_APPEND: number

Constant for fs.open(). Flag indicating that data will be appended to the end of the file.

Const O_CREAT

O_CREAT: number

Constant for fs.open(). Flag indicating to create the file if it does not already exist.

Const O_DIRECT

O_DIRECT: number

Constant for fs.open(). When set, an attempt will be made to minimize caching effects of file I/O.

Const O_DIRECTORY

O_DIRECTORY: number

Constant for fs.open(). Flag indicating that the open should fail if the path is not a directory.

Const O_EXCL

O_EXCL: number

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

O_NOATIME: number

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

O_NOCTTY: number

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

O_NOFOLLOW: number

Constant for fs.open(). Flag indicating that the open should fail if the path is a symbolic link.

Const O_NONBLOCK

O_NONBLOCK: number

Constant for fs.open(). Flag indicating to open the file in nonblocking mode when possible.

Const O_RDONLY

O_RDONLY: number

Constant for fs.open(). Flag indicating to open a file for read-only access.

Const O_RDWR

O_RDWR: number

Constant for fs.open(). Flag indicating to open a file for read-write access.

Const O_SYMLINK

O_SYMLINK: number

Constant for fs.open(). Flag indicating to open the symbolic link itself rather than the resource it is pointing to.

Const O_SYNC

O_SYNC: number

Constant for fs.open(). Flag indicating that the file is opened for synchronous I/O.

Const O_TRUNC

O_TRUNC: number

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

O_WRONLY: number

Constant for fs.open(). Flag indicating to open a file for write-only access.

Const R_OK

R_OK: number

Constant for fs.access(). File can be read by the calling process.

Const S_IFBLK

S_IFBLK: number

Constant for fs.Stats mode property for determining a file's type. File type constant for a block-oriented device file.

Const S_IFCHR

S_IFCHR: number

Constant for fs.Stats mode property for determining a file's type. File type constant for a character-oriented device file.

Const S_IFDIR

S_IFDIR: number

Constant for fs.Stats mode property for determining a file's type. File type constant for a directory.

Const S_IFIFO

S_IFIFO: number

Constant for fs.Stats mode property for determining a file's type. File type constant for a FIFO/pipe.

Const S_IFLNK

S_IFLNK: number

Constant for fs.Stats mode property for determining a file's type. File type constant for a symbolic link.

Const S_IFMT

S_IFMT: number

Constant for fs.Stats mode property for determining a file's type. Bit mask used to extract the file type code.

Const S_IFREG

S_IFREG: number

Constant for fs.Stats mode property for determining a file's type. File type constant for a regular file.

Const S_IFSOCK

S_IFSOCK: number

Constant for fs.Stats mode property for determining a file's type. File type constant for a socket.

Const S_IRGRP

S_IRGRP: number

Constant for fs.Stats mode property for determining access permissions for a file. File mode indicating readable by group.

Const S_IROTH

S_IROTH: number

Constant for fs.Stats mode property for determining access permissions for a file. File mode indicating readable by others.

Const S_IRUSR

S_IRUSR: number

Constant for fs.Stats mode property for determining access permissions for a file. File mode indicating readable by owner.

Const S_IRWXG

S_IRWXG: number

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

S_IRWXO: number

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

S_IRWXU: number

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

S_IWGRP: number

Constant for fs.Stats mode property for determining access permissions for a file. File mode indicating writable by group.

Const S_IWOTH

S_IWOTH: number

Constant for fs.Stats mode property for determining access permissions for a file. File mode indicating writable by others.

Const S_IWUSR

S_IWUSR: number

Constant for fs.Stats mode property for determining access permissions for a file. File mode indicating writable by owner.

Const S_IXGRP

S_IXGRP: number

Constant for fs.Stats mode property for determining access permissions for a file. File mode indicating executable by group.

Const S_IXOTH

S_IXOTH: number

Constant for fs.Stats mode property for determining access permissions for a file. File mode indicating executable by others.

Const S_IXUSR

S_IXUSR: number

Constant for fs.Stats mode property for determining access permissions for a file. File mode indicating executable by owner.

Const W_OK

W_OK: number

Constant for fs.access(). File can be written by the calling process.

Const X_OK

X_OK: number

Constant for fs.access(). File can be executed by the calling process.

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method

Generated using TypeDoc