trait FSConstants extends Object
An object containing commonly used constants for file system operations
- Annotations
- @JSType() @native()
- Alphabetic
- By Inheritance
- FSConstants
- Object
- Any
- 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: Int
- val COPYFILE_FICLONE: Int
- val COPYFILE_FICLONE_FORCE: Int
- 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.
- val O_APPEND: Int
Flag indicating that data will be appended to the end of the file.
- val O_CREAT: Int
Flag indicating to create the file if it does not already exist.
- val O_DIRECT: Int
When set, an attempt will be made to minimize caching effects of file I/O.
- val O_DIRECTORY: Int
Flag indicating that the open should fail if the path is not a directory.
- val O_DSYNC: Int
Flag indicating that the file is opened for synchronized I/O with write operations waiting for data integrity.
- val O_EXCL: Int
Flag indicating that opening a file should fail if the O_CREAT flag is set and the file already exists.
- 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.
- 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).
- val O_NOFOLLOW: Int
Flag indicating that the open should fail if the path is a symbolic link.
- val O_NONBLOCK: Int
Flag indicating to open the file in nonblocking mode when possible.
- val O_RDONLY: Int
Flag indicating to open a file for read-only access.
- val O_RDWR: Int
Flag indicating to open a file for read-write access.
- val O_SYMLINK: Int
Flag indicating to open the symbolic link itself rather than the resource it is pointing to.
- val O_SYNC: Int
Flag indicating that the file is opened for synchronous I/O.
- 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.
- val O_WRONLY: Int
Flag indicating to open a file for write-only access.
- val R_OK: FileMode
File can be read by the calling process.
- val S_IFBLK: FileType
File type constant for a block-oriented device file.
- val S_IFCHR: FileType
File type constant for a character-oriented device file.
- val S_IFDIR: FileType
File type constant for a directory.
- val S_IFIFO: FileType
File type constant for a FIFO/pipe.
- val S_IFLNK: FileType
File type constant for a symbolic link.
- val S_IFMT: FileType
Bit mask used to extract the file type code.
- val S_IFREG: FileType
File type constant for a regular file.
- val S_IFSOCK: FileType
File type constant for a socket.
- val S_IRGRP: FileMode
- val S_IROTH: FileMode
- val S_IRUSR: FileMode
- val S_IRWXG: FileMode
- val S_IRWXO: FileMode
- val S_IRWXU: FileMode
- val S_IWGRP: FileMode
- val S_IWOTH: FileMode
- val S_IWUSR: FileMode
- val S_IXGRP: FileMode
- val S_IXOTH: FileMode
- val S_IXUSR: FileMode
- val W_OK: FileMode
File can be written by the calling process.
- 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).
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hasOwnProperty(v: String): Boolean
- Definition Classes
- Object
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isPrototypeOf(v: Object): Boolean
- Definition Classes
- Object
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def propertyIsEnumerable(v: String): Boolean
- Definition Classes
- Object
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toLocaleString(): String
- Definition Classes
- Object
- def toString(): String
- Definition Classes
- AnyRef → Any
- def valueOf(): Any
- Definition Classes
- Object
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- 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()