Packages

object constants

Source
nodeFsMod.scala
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. constants
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. 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("node:fs", "constants.COPYFILE_EXCL") @native()
  5. 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("node:fs", "constants.COPYFILE_FICLONE") @native()
  6. 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("node:fs", "constants.COPYFILE_FICLONE_FORCE") @native()
  7. val F_OK: Double

    Constant for fs.access().

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

    Annotations
    @JSImport("node:fs", "constants.F_OK") @native()
  8. 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("node:fs", "constants.O_APPEND") @native()
  9. 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("node:fs", "constants.O_CREAT") @native()
  10. 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("node:fs", "constants.O_DIRECT") @native()
  11. 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("node:fs", "constants.O_DIRECTORY") @native()
  12. 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("node:fs", "constants.O_DSYNC") @native()
  13. 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("node:fs", "constants.O_EXCL") @native()
  14. 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("node:fs", "constants.O_NOATIME") @native()
  15. 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("node:fs", "constants.O_NOCTTY") @native()
  16. 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("node:fs", "constants.O_NOFOLLOW") @native()
  17. 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("node:fs", "constants.O_NONBLOCK") @native()
  18. val O_RDONLY: Double

    Constant for fs.open().

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

    Annotations
    @JSImport("node:fs", "constants.O_RDONLY") @native()
  19. val O_RDWR: Double

    Constant for fs.open().

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

    Annotations
    @JSImport("node:fs", "constants.O_RDWR") @native()
  20. 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("node:fs", "constants.O_SYMLINK") @native()
  21. 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("node:fs", "constants.O_SYNC") @native()
  22. 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("node:fs", "constants.O_TRUNC") @native()
  23. val O_WRONLY: Double

    Constant for fs.open().

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

    Annotations
    @JSImport("node:fs", "constants.O_WRONLY") @native()
  24. val R_OK: Double

    Constant for fs.access().

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

    Annotations
    @JSImport("node:fs", "constants.R_OK") @native()
  25. 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("node:fs", "constants.S_IFBLK") @native()
  26. 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("node:fs", "constants.S_IFCHR") @native()
  27. 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("node:fs", "constants.S_IFDIR") @native()
  28. 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("node:fs", "constants.S_IFIFO") @native()
  29. 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("node:fs", "constants.S_IFLNK") @native()
  30. 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("node:fs", "constants.S_IFMT") @native()
  31. 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("node:fs", "constants.S_IFREG") @native()
  32. 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("node:fs", "constants.S_IFSOCK") @native()
  33. 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("node:fs", "constants.S_IRGRP") @native()
  34. 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("node:fs", "constants.S_IROTH") @native()
  35. 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("node:fs", "constants.S_IRUSR") @native()
  36. 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("node:fs", "constants.S_IRWXG") @native()
  37. 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("node:fs", "constants.S_IRWXO") @native()
  38. 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("node:fs", "constants.S_IRWXU") @native()
  39. 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("node:fs", "constants.S_IWGRP") @native()
  40. 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("node:fs", "constants.S_IWOTH") @native()
  41. 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("node:fs", "constants.S_IWUSR") @native()
  42. 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("node:fs", "constants.S_IXGRP") @native()
  43. 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("node:fs", "constants.S_IXOTH") @native()
  44. 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("node:fs", "constants.S_IXUSR") @native()
  45. 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("node:fs", "constants.UV_FS_O_FILEMAP") @native()
  46. val W_OK: Double

    Constant for fs.access().

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

    Annotations
    @JSImport("node:fs", "constants.W_OK") @native()
  47. val X_OK: Double

    Constant for fs.access().

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

    Annotations
    @JSImport("node:fs", "constants.X_OK") @native()
  48. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  49. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
  50. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  51. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  52. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  53. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  54. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  55. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  56. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  57. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  58. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  59. def toString(): java.lang.String
    Definition Classes
    AnyRef → Any
  60. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  61. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  62. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from AnyRef

Inherited from Any

Ungrouped