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

Deprecated Value Members

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

    (Since version ) see corresponding Javadoc for more information.

Inherited from Object

Inherited from Any

Inherited from AnyRef

Inherited from Any

Ungrouped