t

io.scalajs.nodejs.fs

FSConstants

trait FSConstants extends Object

An object containing commonly used constants for file system operations

Annotations
@JSType() @native()
Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. FSConstants
  2. Object
  3. Any
  4. AnyRef
  5. 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: Int
  5. val COPYFILE_FICLONE: Int
  6. val COPYFILE_FICLONE_FORCE: Int
  7. val F_OK: FileMode

    File is visible to the calling process.

    File is visible to the calling process. This is useful for determining if a file exists, but says nothing about rwx permissions. Default if no mode is specified.

  8. val O_APPEND: Int

    Flag indicating that data will be appended to the end of the file.

  9. val O_CREAT: Int

    Flag indicating to create the file if it does not already exist.

  10. val O_DIRECT: Int

    When set, an attempt will be made to minimize caching effects of file I/O.

  11. val O_DIRECTORY: Int

    Flag indicating that the open should fail if the path is not a directory.

  12. val O_DSYNC: Int

    Flag indicating that the file is opened for synchronized I/O with write operations waiting for data integrity.

  13. val O_EXCL: Int

    Flag indicating that opening a file should fail if the O_CREAT flag is set and the file already exists.

  14. val 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.

    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.

  15. val 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).

  16. val O_NOFOLLOW: Int

    Flag indicating that the open should fail if the path is a symbolic link.

  17. val O_NONBLOCK: Int

    Flag indicating to open the file in nonblocking mode when possible.

  18. val O_RDONLY: Int

    Flag indicating to open a file for read-only access.

  19. val O_RDWR: Int

    Flag indicating to open a file for read-write access.

  20. val O_SYMLINK: Int

    Flag indicating to open the symbolic link itself rather than the resource it is pointing to.

  21. val O_SYNC: Int

    Flag indicating that the file is opened for synchronous I/O.

  22. val 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.

  23. val O_WRONLY: Int

    Flag indicating to open a file for write-only access.

  24. val R_OK: FileMode

    File can be read by the calling process.

  25. val S_IFBLK: FileType

    File type constant for a block-oriented device file.

  26. val S_IFCHR: FileType

    File type constant for a character-oriented device file.

  27. val S_IFDIR: FileType

    File type constant for a directory.

  28. val S_IFIFO: FileType

    File type constant for a FIFO/pipe.

  29. val S_IFLNK: FileType

    File type constant for a symbolic link.

  30. val S_IFMT: FileType

    Bit mask used to extract the file type code.

  31. val S_IFREG: FileType

    File type constant for a regular file.

  32. val S_IFSOCK: FileType

    File type constant for a socket.

  33. val S_IRGRP: FileMode
  34. val S_IROTH: FileMode
  35. val S_IRUSR: FileMode
  36. val S_IRWXG: FileMode
  37. val S_IRWXO: FileMode
  38. val S_IRWXU: FileMode
  39. val S_IWGRP: FileMode
  40. val S_IWOTH: FileMode
  41. val S_IWUSR: FileMode
  42. val S_IXGRP: FileMode
  43. val S_IXOTH: FileMode
  44. val S_IXUSR: FileMode
  45. val W_OK: FileMode

    File can be written by the calling process.

  46. val X_OK: FileMode

    File can be executed by the calling process.

    File can be executed by the calling process. This has no effect on Windows (will behave like F_OK).

  47. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  48. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  49. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  50. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  51. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  52. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  53. def hasOwnProperty(v: String): Boolean
    Definition Classes
    Object
  54. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  55. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  56. def isPrototypeOf(v: Object): Boolean
    Definition Classes
    Object
  57. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  58. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  59. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  60. def propertyIsEnumerable(v: String): Boolean
    Definition Classes
    Object
  61. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  62. def toLocaleString(): String
    Definition Classes
    Object
  63. def toString(): String
    Definition Classes
    AnyRef → Any
  64. def valueOf(): Any
    Definition Classes
    Object
  65. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  66. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  67. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from Object

Inherited from Any

Inherited from AnyRef

Inherited from Any

Ungrouped