trait FileHandle extends Object
- Annotations
- @JSType() @native()
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- FileHandle
- Object
- Any
- AnyRef
- Any
- Hide All
- Show All
Visibility
- 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
- def appendFile(data: Buffer): Promise[Unit]
- def appendFile(data: Buffer, options: FileAppendOptions): Promise[Unit]
- def appendFile(data: String): Promise[Unit]
- def appendFile(data: String, options: FileAppendOptions): Promise[Unit]
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def chmod(mode: FileMode): Promise[Unit]
- def chown(uid: UID, gid: GID): Promise[Unit]
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def close(): Promise[Unit]
- def datasync(): Promise[Unit]
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- val fd: FileDescriptor
- 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
- def read[T <: TypedArray[_, _]](buffer: T, offset: |[Int, Null], length: |[Int, Null], position: |[Int, Null]): Promise[BufferIOResult[T]]
- def readFile(options: ReadFileOptions): Promise[Output]
- def readFile(encoding: String): Promise[String]
- def readFile(): Promise[Buffer]
- def stat(options: StatOptions): Promise[StatsVariant]
- def stat(): Promise[Stats]
- def sync(): Promise[Unit]
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toLocaleString(): String
- Definition Classes
- Object
- def toString(): String
- Definition Classes
- AnyRef → Any
- def truncate(length: Int): Promise[Unit]
- def truncate(): Promise[Unit]
- def utimes(atime: Time, mtime: Time): Promise[Unit]
- 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()
- def write(string: String, position: |[Int, Null], encoding: String): Promise[BufferIOResult[String]]
- def write(buffer: DataView, offset: |[Int, Null], length: |[Int, Null], position: |[Int, Null]): Promise[BufferIOResult[DataView]]
- def write[T <: TypedArray[_, _]](buffer: T, offset: |[Int, Null], length: |[Int, Null], position: |[Int, Null]): Promise[BufferIOResult[T]]
- def writeFile(data: BufferLike): Promise[Unit]
- def writeFile(data: BufferLike, options: FileWriteOptions): Promise[Unit]
- def writeFile(data: String): Promise[Unit]
- def writeFile(data: String, options: FileWriteOptions): Promise[Unit]
- def writev(buffers: Array[ArrayBufferView]): Promise[Unit]
- def writev(buffers: Array[ArrayBufferView], position: Int): Promise[Unit]