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
- All
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: |[String, Buffer], options: FileAppendOptions = js.native): 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( ... ) @native() @HotSpotIntrinsicCandidate()
- def close(): Promise[Unit]
- def datasync(): Promise[Unit]
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val fd: FileDescriptor
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
hasOwnProperty(v: String): Boolean
- Definition Classes
- Object
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
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() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
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(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
- 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: |[String, BufferLike]): Promise[Unit]
- def writeFile(data: |[String, BufferLike], options: FileWriteOptions): Promise[Unit]