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