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

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

Inherited from Object

Inherited from Any

Inherited from AnyRef

Inherited from Any

Ungrouped