Packages

class Dir extends fsMod.Dir

Annotations
@JSType() @JSImport("node:fs", "Dir") @native()
Source
nodeFsMod.scala
Linear Supertypes
fsMod.Dir, StObject, Object, Any, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Dir
  2. Dir
  3. StObject
  4. Object
  5. Any
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new Dir()

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. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
  6. def close(cb: NoParamCallback): Unit
    Definition Classes
    Dir
  7. def close(): Promise[Unit]

    Asynchronously close the directory's underlying resource handle.

    Asynchronously close the directory's underlying resource handle. Subsequent reads will result in errors.

    Definition Classes
    Dir
  8. def closeSync(): Unit

    Synchronously close the directory's underlying resource handle.

    Synchronously close the directory's underlying resource handle. Subsequent reads will result in errors.

    Definition Classes
    Dir
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  11. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  12. def hasOwnProperty(v: scala.Predef.String): Boolean
    Definition Classes
    Object
  13. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  14. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  15. def isPrototypeOf(v: Object): Boolean
    Definition Classes
    Object
  16. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  18. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  19. val path: scala.Predef.String
    Definition Classes
    Dir
  20. def propertyIsEnumerable(v: scala.Predef.String): Boolean
    Definition Classes
    Object
  21. def read(cb: Function2[|[ErrnoException, Null], |[fsMod.Dirent, Null], Unit]): Unit
    Definition Classes
    Dir
  22. def read(): Promise[|[fsMod.Dirent, Null]]

    Asynchronously read the next directory entry via readdir(3) as an Dirent.

    Asynchronously read the next directory entry via readdir(3) as an Dirent. After the read is completed, a value is returned that will be resolved with an Dirent, or null if there are no more directory entries to read. Directory entries returned by this function are in no particular order as provided by the operating system's underlying directory mechanisms.

    Definition Classes
    Dir
  23. def readSync(): |[fsMod.Dirent, Null]

    Synchronously read the next directory entry via readdir(3) as a Dirent.

    Synchronously read the next directory entry via readdir(3) as a Dirent. If there are no more directory entries to read, null will be returned. Directory entries returned by this function are in no particular order as provided by the operating system's underlying directory mechanisms.

    Definition Classes
    Dir
  24. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  25. def toLocaleString(): scala.Predef.String
    Definition Classes
    Object
  26. def toString(): java.lang.String
    Definition Classes
    AnyRef → Any
  27. def valueOf(): Any
    Definition Classes
    Object
  28. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  29. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  30. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

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

Inherited from fsMod.Dir

Inherited from StObject

Inherited from Object

Inherited from Any

Inherited from AnyRef

Inherited from Any

Ungrouped