Packages

t

io.scalajs.nodejs.fs.Fs

FsPromises

trait FsPromises extends Object

Annotations
@JSType() @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

Abstract Value Members

  1. abstract def watch(filename: Path, options: FsPromiseWatchOptions): AsyncIterator[FileWatchEvent]

Concrete 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): Promise[Unit]
  5. def access(path: Path, mode: FileMode): Promise[Unit]
  6. def appendFile(file: FileHandle, data: Buffer): Promise[Unit]
  7. def appendFile(file: Path, data: Buffer): Promise[Unit]
  8. def appendFile(file: FileHandle, data: String): Promise[Unit]
  9. def appendFile(file: Path, data: String): Promise[Unit]
  10. def appendFile(file: FileHandle, data: String, encoding: String): Promise[Unit]
  11. def appendFile(file: Path, data: String, encoding: String): Promise[Unit]
  12. def appendFile(file: FileHandle, data: String, options: FileAppendOptions): Promise[Unit]
  13. def appendFile(file: Path, data: String, options: FileAppendOptions): Promise[Unit]
  14. def appendFile(file: FileHandle, data: Buffer, options: FileAppendOptions): Promise[Unit]
  15. def appendFile(file: Path, data: Buffer, options: FileAppendOptions): Promise[Unit]
  16. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  17. def chmod(path: Path, mode: FileMode): Promise[Unit]
  18. def chown(path: Path, uid: UID, gid: GID): Promise[Unit]
  19. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  20. def copyFile(src: Path, target: Path): Promise[Unit]
  21. def copyFile(src: Path, target: Path, mode: FileMode): Promise[Unit]
  22. def cp(src: Path, dest: Path, options: CpOptions): Promise[Unit]
  23. def cp(src: Path, dest: Path): Promise[Unit]
  24. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  25. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  26. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  27. def hasOwnProperty(v: String): Boolean
    Definition Classes
    Object
  28. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  29. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  30. def isPrototypeOf(v: Object): Boolean
    Definition Classes
    Object
  31. def lchmod(path: Path, mode: FileMode): Promise[Unit]
  32. def lchown(path: Path, uid: UID, gid: GID): Promise[Unit]
  33. def link(existingPath: Path, newPath: Path): Promise[Unit]
  34. def lstat(path: Path): Promise[StatsVariant]
  35. def lstat(path: Path, options: StatOptions): Promise[StatsVariant]
  36. def lutimes(path: Path, atime: Time, mtime: Time): Promise[Unit]
  37. def mkdir(path: Path): Promise[Unit]
  38. def mkdir(path: Path, mode: FileMode): Promise[Unit]
  39. def mkdir(path: Path, options: MkdirOptions): Promise[Unit]
  40. def mkdtemp(prefix: String): Promise[String]
  41. def mkdtemp(prefix: String, encoding: String): Promise[String]
  42. def mkdtemp(prefix: String, options: FileEncodingOptions): Promise[String]
  43. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  44. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  45. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  46. def open(path: Path): Promise[FileHandle]
  47. def open(path: Path, flags: Flags): Promise[FileHandle]
  48. def open(path: Path, flags: Flags, mode: String): Promise[FileHandle]
  49. def open(path: Path, flags: Flags, mode: FileMode): Promise[FileHandle]
  50. def opendir(path: Path): Promise[Dir[String]]
  51. def opendir(path: Path, options: OpendirOptions): Promise[|[Dir[String], Dir[Buffer]]]
  52. def propertyIsEnumerable(v: String): Boolean
    Definition Classes
    Object
  53. def readFile(path: FileHandle): Promise[String]
  54. def readFile(path: FileHandle, options: ReadFileOptions): Promise[Output]
  55. def readFile(path: FileHandle, options: String): Promise[Output]
  56. def readFile(path: Path): Promise[String]
  57. def readFile(path: Path, options: ReadFileOptions): Promise[Output]
  58. def readFile(path: Path, options: String): Promise[Output]
  59. def readdir(path: Path): Promise[Array[String]]
  60. def readdir(path: Path, options: FileEncodingOptions): Promise[ReaddirArrays]
  61. def readdir(path: Path, encoding: String): Promise[ReaddirArrays]
  62. def readdir(path: Path, options: ReaddirOptions): Promise[ReaddirArrays2]
  63. def readlink(path: Path, options: FileEncodingOptions): Promise[Output]
  64. def readlink(path: Path, options: String): Promise[Output]
  65. def readlink(path: Path): Promise[String]
  66. def realpath(path: Path): Promise[String]
  67. def realpath(path: Path, options: String): Promise[Output]
  68. def realpath(path: Path, options: ReadFileOptions): Promise[Output]
  69. def rename(oldPath: Path, newPath: Path): Promise[Unit]
  70. def rm(path: Path): Promise[Unit]
  71. def rm(path: Path, options: RmOptions): Promise[Unit]
  72. def rmdir(path: Path, options: RmdirOptions): Promise[Unit]
  73. def rmdir(path: Path): Promise[Unit]
  74. def stat(path: Path): Promise[Stats]
  75. def stat(path: Path, options: StatOptions): Promise[StatsVariant]
  76. def symlink(target: Path, path: Path): Promise[Unit]
  77. def symlink(target: Path, path: Path, type: String): Promise[Unit]
  78. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  79. def toLocaleString(): String
    Definition Classes
    Object
  80. def toString(): String
    Definition Classes
    AnyRef → Any
  81. def truncate(path: Path): Promise[Unit]
  82. def truncate(path: Path, length: Int): Promise[Unit]
  83. def unlink(path: Path): Promise[Unit]
  84. def utimes(path: Path, atime: Time, mtime: Time): Promise[Unit]
  85. def valueOf(): Any
    Definition Classes
    Object
  86. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  87. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  88. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  89. def writeFile(file: FileHandle, data: BufferLike): Promise[Unit]
  90. def writeFile(file: FileHandle, data: String): Promise[Unit]
  91. def writeFile(file: FileHandle, data: BufferLike, options: FileWriteOptions): Promise[Unit]
  92. def writeFile(file: FileHandle, data: String, options: FileWriteOptions): Promise[Unit]
  93. def writeFile(file: Path, data: BufferLike): Promise[Unit]
  94. def writeFile(file: Path, data: String): Promise[Unit]
  95. def writeFile(file: Path, data: BufferLike, options: FileWriteOptions): Promise[Unit]
  96. def writeFile(file: Path, data: String, 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

Inherited from Object

Inherited from Any

Inherited from AnyRef

Inherited from Any

Ungrouped