object constants
- Source
- constants.scala
- Alphabetic
- By Inheritance
- constants
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val COPYFILE_EXCL: Double
Constant for fs.copyFile.
Constant for fs.copyFile. Flag indicating the destination file should not be overwritten if it already exists.
- Annotations
- @JSImport("fs", "constants.COPYFILE_EXCL") @native()
- val COPYFILE_FICLONE: Double
Constant for fs.copyFile.
Constant for fs.copyFile. copy operation will attempt to create a copy-on-write reflink. If the underlying platform does not support copy-on-write, then a fallback copy mechanism is used.
- Annotations
- @JSImport("fs", "constants.COPYFILE_FICLONE") @native()
- val COPYFILE_FICLONE_FORCE: Double
Constant for fs.copyFile.
Constant for fs.copyFile. Copy operation will attempt to create a copy-on-write reflink. If the underlying platform does not support copy-on-write, then the operation will fail with an error.
- Annotations
- @JSImport("fs", "constants.COPYFILE_FICLONE_FORCE") @native()
- val F_OK: Double
Constant for fs.access().
Constant for fs.access(). File is visible to the calling process.
- Annotations
- @JSImport("fs", "constants.F_OK") @native()
- val O_APPEND: Double
Constant for fs.open().
Constant for fs.open(). Flag indicating that data will be appended to the end of the file.
- Annotations
- @JSImport("fs", "constants.O_APPEND") @native()
- val O_CREAT: Double
Constant for fs.open().
Constant for fs.open(). Flag indicating to create the file if it does not already exist.
- Annotations
- @JSImport("fs", "constants.O_CREAT") @native()
- val O_DIRECT: Double
Constant for fs.open().
Constant for fs.open(). When set, an attempt will be made to minimize caching effects of file I/O.
- Annotations
- @JSImport("fs", "constants.O_DIRECT") @native()
- val O_DIRECTORY: Double
Constant for fs.open().
Constant for fs.open(). Flag indicating that the open should fail if the path is not a directory.
- Annotations
- @JSImport("fs", "constants.O_DIRECTORY") @native()
- val O_DSYNC: Double
Constant for fs.open().
Constant for fs.open(). Flag indicating that the file is opened for synchronous I/O with write operations waiting for data integrity.
- Annotations
- @JSImport("fs", "constants.O_DSYNC") @native()
- val O_EXCL: Double
Constant for fs.open().
Constant for fs.open(). Flag indicating that opening a file should fail if the O_CREAT flag is set and the file already exists.
- Annotations
- @JSImport("fs", "constants.O_EXCL") @native()
- val O_NOATIME: Double
constant for fs.open().
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.
- Annotations
- @JSImport("fs", "constants.O_NOATIME") @native()
- val O_NOCTTY: Double
Constant for fs.open().
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).
- Annotations
- @JSImport("fs", "constants.O_NOCTTY") @native()
- val O_NOFOLLOW: Double
Constant for fs.open().
Constant for fs.open(). Flag indicating that the open should fail if the path is a symbolic link.
- Annotations
- @JSImport("fs", "constants.O_NOFOLLOW") @native()
- val O_NONBLOCK: Double
Constant for fs.open().
Constant for fs.open(). Flag indicating to open the file in nonblocking mode when possible.
- Annotations
- @JSImport("fs", "constants.O_NONBLOCK") @native()
- val O_RDONLY: Double
Constant for fs.open().
Constant for fs.open(). Flag indicating to open a file for read-only access.
- Annotations
- @JSImport("fs", "constants.O_RDONLY") @native()
- val O_RDWR: Double
Constant for fs.open().
Constant for fs.open(). Flag indicating to open a file for read-write access.
- Annotations
- @JSImport("fs", "constants.O_RDWR") @native()
- val O_SYMLINK: Double
Constant for fs.open().
Constant for fs.open(). Flag indicating to open the symbolic link itself rather than the resource it is pointing to.
- Annotations
- @JSImport("fs", "constants.O_SYMLINK") @native()
- val O_SYNC: Double
Constant for fs.open().
Constant for fs.open(). Flag indicating that the file is opened for synchronous I/O.
- Annotations
- @JSImport("fs", "constants.O_SYNC") @native()
- val O_TRUNC: Double
Constant for fs.open().
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.
- Annotations
- @JSImport("fs", "constants.O_TRUNC") @native()
- val O_WRONLY: Double
Constant for fs.open().
Constant for fs.open(). Flag indicating to open a file for write-only access.
- Annotations
- @JSImport("fs", "constants.O_WRONLY") @native()
- val R_OK: Double
Constant for fs.access().
Constant for fs.access(). File can be read by the calling process.
- Annotations
- @JSImport("fs", "constants.R_OK") @native()
- val S_IFBLK: Double
Constant for fs.Stats mode property for determining a file's type.
Constant for fs.Stats mode property for determining a file's type. File type constant for a block-oriented device file.
- Annotations
- @JSImport("fs", "constants.S_IFBLK") @native()
- val S_IFCHR: Double
Constant for fs.Stats mode property for determining a file's type.
Constant for fs.Stats mode property for determining a file's type. File type constant for a character-oriented device file.
- Annotations
- @JSImport("fs", "constants.S_IFCHR") @native()
- val S_IFDIR: Double
Constant for fs.Stats mode property for determining a file's type.
Constant for fs.Stats mode property for determining a file's type. File type constant for a directory.
- Annotations
- @JSImport("fs", "constants.S_IFDIR") @native()
- val S_IFIFO: Double
Constant for fs.Stats mode property for determining a file's type.
Constant for fs.Stats mode property for determining a file's type. File type constant for a FIFO/pipe.
- Annotations
- @JSImport("fs", "constants.S_IFIFO") @native()
- val S_IFLNK: Double
Constant for fs.Stats mode property for determining a file's type.
Constant for fs.Stats mode property for determining a file's type. File type constant for a symbolic link.
- Annotations
- @JSImport("fs", "constants.S_IFLNK") @native()
- val S_IFMT: Double
Constant for fs.Stats mode property for determining a file's type.
Constant for fs.Stats mode property for determining a file's type. Bit mask used to extract the file type code.
- Annotations
- @JSImport("fs", "constants.S_IFMT") @native()
- val S_IFREG: Double
Constant for fs.Stats mode property for determining a file's type.
Constant for fs.Stats mode property for determining a file's type. File type constant for a regular file.
- Annotations
- @JSImport("fs", "constants.S_IFREG") @native()
- val S_IFSOCK: Double
Constant for fs.Stats mode property for determining a file's type.
Constant for fs.Stats mode property for determining a file's type. File type constant for a socket.
- Annotations
- @JSImport("fs", "constants.S_IFSOCK") @native()
- val S_IRGRP: Double
Constant for fs.Stats mode property for determining access permissions for a file.
Constant for fs.Stats mode property for determining access permissions for a file. File mode indicating readable by group.
- Annotations
- @JSImport("fs", "constants.S_IRGRP") @native()
- val S_IROTH: Double
Constant for fs.Stats mode property for determining access permissions for a file.
Constant for fs.Stats mode property for determining access permissions for a file. File mode indicating readable by others.
- Annotations
- @JSImport("fs", "constants.S_IROTH") @native()
- val S_IRUSR: Double
Constant for fs.Stats mode property for determining access permissions for a file.
Constant for fs.Stats mode property for determining access permissions for a file. File mode indicating readable by owner.
- Annotations
- @JSImport("fs", "constants.S_IRUSR") @native()
- val S_IRWXG: Double
Constant for fs.Stats mode property for determining access permissions for a file.
Constant for fs.Stats mode property for determining access permissions for a file. File mode indicating readable, writable and executable by group.
- Annotations
- @JSImport("fs", "constants.S_IRWXG") @native()
- val S_IRWXO: Double
Constant for fs.Stats mode property for determining access permissions for a file.
Constant for fs.Stats mode property for determining access permissions for a file. File mode indicating readable, writable and executable by others.
- Annotations
- @JSImport("fs", "constants.S_IRWXO") @native()
- val S_IRWXU: Double
Constant for fs.Stats mode property for determining access permissions for a file.
Constant for fs.Stats mode property for determining access permissions for a file. File mode indicating readable, writable and executable by owner.
- Annotations
- @JSImport("fs", "constants.S_IRWXU") @native()
- val S_IWGRP: Double
Constant for fs.Stats mode property for determining access permissions for a file.
Constant for fs.Stats mode property for determining access permissions for a file. File mode indicating writable by group.
- Annotations
- @JSImport("fs", "constants.S_IWGRP") @native()
- val S_IWOTH: Double
Constant for fs.Stats mode property for determining access permissions for a file.
Constant for fs.Stats mode property for determining access permissions for a file. File mode indicating writable by others.
- Annotations
- @JSImport("fs", "constants.S_IWOTH") @native()
- val S_IWUSR: Double
Constant for fs.Stats mode property for determining access permissions for a file.
Constant for fs.Stats mode property for determining access permissions for a file. File mode indicating writable by owner.
- Annotations
- @JSImport("fs", "constants.S_IWUSR") @native()
- val S_IXGRP: Double
Constant for fs.Stats mode property for determining access permissions for a file.
Constant for fs.Stats mode property for determining access permissions for a file. File mode indicating executable by group.
- Annotations
- @JSImport("fs", "constants.S_IXGRP") @native()
- val S_IXOTH: Double
Constant for fs.Stats mode property for determining access permissions for a file.
Constant for fs.Stats mode property for determining access permissions for a file. File mode indicating executable by others.
- Annotations
- @JSImport("fs", "constants.S_IXOTH") @native()
- val S_IXUSR: Double
Constant for fs.Stats mode property for determining access permissions for a file.
Constant for fs.Stats mode property for determining access permissions for a file. File mode indicating executable by owner.
- Annotations
- @JSImport("fs", "constants.S_IXUSR") @native()
- val UV_FS_O_FILEMAP: Double
When set, a memory file mapping is used to access the file.
When set, a memory file mapping is used to access the file. This flag is available on Windows operating systems only. On other operating systems, this flag is ignored.
- Annotations
- @JSImport("fs", "constants.UV_FS_O_FILEMAP") @native()
- val W_OK: Double
Constant for fs.access().
Constant for fs.access(). File can be written by the calling process.
- Annotations
- @JSImport("fs", "constants.W_OK") @native()
- val X_OK: Double
Constant for fs.access().
Constant for fs.access(). File can be executed by the calling process.
- Annotations
- @JSImport("fs", "constants.X_OK") @native()
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): java.lang.String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated