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, flags: Flags): Promise[FileHandle]
  40. def open(path: Path, flags: Flags, mode: FileMode): Promise[FileHandle]
  41. def propertyIsEnumerable(v: String): Boolean
    Definition Classes
    Object
  42. def readdir(path: Path): Promise[Array[String]]
  43. def readdir(path: Path, options: FileEncodingOptions): Promise[Array[String]]
  44. def readdir(path: Path, encoding: String): Promise[Array[String]]
  45. def readdir(path: Path, options: ReaddirOptions): Promise[|[Array[String], Array[Dirent]]]
  46. def readlink(path: Path, options: FileEncodingOptions): Promise[Output]
  47. def readlink(path: Path, options: String): Promise[Output]
  48. def readlink(path: Path): Promise[String]
  49. def rename(oldPath: Path, newPath: Path): Promise[Unit]
  50. def rmdir(path: Path): Promise[Unit]
  51. def stat(path: Path): Promise[StatsVariant]
  52. def stat(path: Path, options: StatOptions): Promise[StatsVariant]
  53. def symlink(target: Path, path: Path): Promise[Unit]
  54. def symlink(target: Path, path: Path, type: String): Promise[Unit]
  55. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  56. def toLocaleString(): String
    Definition Classes
    Object
  57. def toString(): String
    Definition Classes
    AnyRef → Any
  58. def truncate(path: Path): Promise[Unit]
  59. def truncate(path: Path, length: Int): Promise[Unit]
  60. def unlink(path: Path): Promise[Unit]
  61. def utimes(path: Path, atime: Time, mtime: Time): Promise[Unit]
  62. def valueOf(): Any
    Definition Classes
    Object
  63. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  64. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  65. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  66. def writeFile(file: FileHandle, data: BufferLike, options: FileWriteOptions): Promise[Unit]
  67. def writeFile(file: FileHandle, data: String, options: FileWriteOptions): Promise[Unit]
  68. def writeFile(file: Path, data: BufferLike, options: FileWriteOptions): Promise[Unit]
  69. def writeFile(file: Path, data: String, options: FileWriteOptions): Promise[Unit]

Inherited from Object

Inherited from Any

Inherited from AnyRef

Inherited from Any

Ungrouped