class Dir extends fsMod.Dir
- Annotations
- @JSType() @JSImport("node:fs", "Dir") @native()
- Source
- nodeFsMod.scala
- Alphabetic
- By Inheritance
- Dir
- Dir
- StObject
- Object
- Any
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new Dir()
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
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
- def close(cb: NoParamCallback): Unit
- Definition Classes
- Dir
- 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
- 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
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- def hasOwnProperty(v: scala.Predef.String): Boolean
- Definition Classes
- Object
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- 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() @IntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- val path: scala.Predef.String
- Definition Classes
- Dir
- def propertyIsEnumerable(v: scala.Predef.String): Boolean
- Definition Classes
- Object
- def read(cb: Function2[|[ErrnoException, Null], |[fsMod.Dirent, Null], Unit]): Unit
- Definition Classes
- Dir
- def read(): Promise[|[fsMod.Dirent, Null]]
Asynchronously read the next directory entry via
readdir(3)as anDirent.Asynchronously read the next directory entry via
readdir(3)as anDirent. After the read is completed, a value is returned that will be resolved with anDirent, ornullif 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
- def readSync(): |[fsMod.Dirent, Null]
Synchronously read the next directory entry via
readdir(3)as aDirent.Synchronously read the next directory entry via
readdir(3)as aDirent. 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
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toLocaleString(): scala.Predef.String
- Definition Classes
- Object
- def toString(): java.lang.String
- Definition Classes
- AnyRef → Any
- def valueOf(): Any
- Definition Classes
- Object
- 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()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated