Packages

t

io.scalajs.nodejs.fs.Fs

FsPromises

trait FsPromises extends Object

Annotations
@RawJSType() @native()
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. FsPromises
  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 access(path: Path, mode: FileMode): Promise[Unit]
  5. def appendFile(file: |[Path, FileDescriptor], data: |[String, Buffer], options: |[FileAppendOptions, String] = js.native): Promise[Unit]
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def chmod(path: Path, mode: FileMode): Promise[Unit]
  8. def chown(path: Path, uid: UID, gid: GID): Promise[Unit]
  9. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  10. def copyFile(src: Path, target: Path, flag: Int): Promise[Unit]
  11. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  13. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  14. def hasOwnProperty(v: String): Boolean
    Definition Classes
    Object
  15. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. def isPrototypeOf(v: Object): Boolean
    Definition Classes
    Object
  18. def lchmod(path: Path, mode: FileMode): Promise[Unit]
  19. def lchown(path: Path, uid: UID, gid: GID): Promise[Unit]
  20. def link(existingPath: Path, newPath: Path): Promise[Unit]
  21. def lstat(path: Path, options: StatOptions): Promise[StatsVariant]
  22. def mkdir(path: Path, mode: FileMode): Promise[Unit]
  23. def mkdir(path: Path, options: MkdirOptions = js.native): Promise[Unit]
  24. def mkdtemp(prefix: String, encoding: String = js.native): Promise[String]
  25. def mkdtemp(prefix: String, options: FileEncodingOptions): Promise[String]
  26. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  27. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  28. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  29. def open(path: Path, flags: Flags, mode: FileMode = js.native): Promise[FileHandle]
  30. def propertyIsEnumerable(v: String): Boolean
    Definition Classes
    Object
  31. def readdir(path: Path, options: |[String, FileEncodingOptions] = js.native): Promise[Array[String]]
  32. def readdir(path: Path, options: ReaddirOptions): Promise[|[Array[String], Array[Dirent]]]
  33. def readlink(path: Path, options: |[String, FileEncodingOptions]): Promise[Output]
  34. def readlink(path: Path): Promise[String]
  35. def rename(oldPath: Path, newPath: Path): Promise[Unit]
  36. def rmdir(path: Path): Promise[Unit]
  37. def stat(path: Path, options: StatOptions = js.native): Promise[StatsVariant]
  38. def symlink(target: Path, path: Path, type: String = js.native): Promise[Unit]
  39. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  40. def toLocaleString(): String
    Definition Classes
    Object
  41. def toString(): String
    Definition Classes
    AnyRef → Any
  42. def truncate(path: Path, length: Int = js.native): Promise[Unit]
  43. def unlink(path: Path): Promise[Unit]
  44. def utimes(path: Path, atime: Time, mtime: Time): Promise[Unit]
  45. def valueOf(): Any
    Definition Classes
    Object
  46. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  47. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  48. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  49. def writeFile(file: |[Path, FileHandle], 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