Packages

t

io.scalajs.nodejs.fs.Fs

FileHandle

trait FileHandle extends Object

Annotations
@JSType() @native()
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. FileHandle
  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. def appendFile(data: Buffer): Promise[Unit]
  5. def appendFile(data: Buffer, options: FileAppendOptions): Promise[Unit]
  6. def appendFile(data: String): Promise[Unit]
  7. def appendFile(data: String, options: FileAppendOptions): Promise[Unit]
  8. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  9. def chmod(mode: FileMode): Promise[Unit]
  10. def chown(uid: UID, gid: GID): Promise[Unit]
  11. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  12. def close(): Promise[Unit]
  13. def datasync(): Promise[Unit]
  14. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  16. val fd: FileDescriptor
  17. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  18. def hasOwnProperty(v: String): Boolean
    Definition Classes
    Object
  19. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  20. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  21. def isPrototypeOf(v: Object): Boolean
    Definition Classes
    Object
  22. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  23. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  24. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  25. def propertyIsEnumerable(v: String): Boolean
    Definition Classes
    Object
  26. def read[T <: TypedArray[_, _]](options: ReadOptions): Promise[BufferIOResult[T]]
  27. def read[T <: TypedArray[_, _]](buffer: T, offset: |[Int, Null], length: |[Int, Null], position: |[Int, Null]): Promise[BufferIOResult[T]]
  28. def readFile(options: ReadFileOptions): Promise[Output]
  29. def readFile(encoding: String): Promise[String]
  30. def readFile(): Promise[Buffer]
  31. def stat(options: StatOptions): Promise[StatsVariant]
  32. def stat(): Promise[Stats]
  33. def sync(): Promise[Unit]
  34. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  35. def toLocaleString(): String
    Definition Classes
    Object
  36. def toString(): String
    Definition Classes
    AnyRef → Any
  37. def truncate(length: Int): Promise[Unit]
  38. def truncate(): Promise[Unit]
  39. def utimes(atime: Time, mtime: Time): Promise[Unit]
  40. def valueOf(): Any
    Definition Classes
    Object
  41. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  42. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  43. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  44. def write(string: String, position: |[Int, Null], encoding: String): Promise[BufferIOResult[String]]
  45. def write(buffer: DataView, offset: |[Int, Null], length: |[Int, Null], position: |[Int, Null]): Promise[BufferIOResult[DataView]]
  46. def write[T <: TypedArray[_, _]](buffer: T, offset: |[Int, Null], length: |[Int, Null], position: |[Int, Null]): Promise[BufferIOResult[T]]
  47. def writeFile(data: BufferLike): Promise[Unit]
  48. def writeFile(data: BufferLike, options: FileWriteOptions): Promise[Unit]
  49. def writeFile(data: String): Promise[Unit]
  50. def writeFile(data: String, options: FileWriteOptions): Promise[Unit]
  51. def writev(buffers: Array[ArrayBufferView]): Promise[Unit]
  52. def writev(buffers: Array[ArrayBufferView], position: Int): Promise[Unit]

Deprecated Value Members

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

Inherited from Object

Inherited from Any

Inherited from AnyRef

Inherited from Any

Ungrouped