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. All

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( ... ) @native() @HotSpotIntrinsicCandidate()
  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: Any): Boolean
    Definition Classes
    AnyRef → Any
  20. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  21. def hasOwnProperty(v: String): Boolean
    Definition Classes
    Object
  22. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  23. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  24. def isPrototypeOf(v: Object): Boolean
    Definition Classes
    Object
  25. def lchmod(path: Path, mode: FileMode): Promise[Unit]
  26. def lchown(path: Path, uid: UID, gid: GID): Promise[Unit]
  27. def link(existingPath: Path, newPath: Path): Promise[Unit]
  28. def lstat(path: Path, options: StatOptions): Promise[StatsVariant]
  29. def mkdir(path: Path, mode: FileMode): Promise[Unit]
  30. def mkdir(path: Path): Promise[Unit]
  31. def mkdir(path: Path, options: MkdirOptions): Promise[Unit]
  32. def mkdtemp(prefix: String): Promise[String]
  33. def mkdtemp(prefix: String, encoding: String): Promise[String]
  34. def mkdtemp(prefix: String, options: FileEncodingOptions): Promise[String]
  35. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  36. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  37. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  38. def open(path: Path, flags: Flags): Promise[FileHandle]
  39. def open(path: Path, flags: Flags, mode: FileMode): Promise[FileHandle]
  40. def propertyIsEnumerable(v: String): Boolean
    Definition Classes
    Object
  41. def readdir(path: Path): Promise[Array[String]]
  42. def readdir(path: Path, options: FileEncodingOptions): Promise[Array[String]]
  43. def readdir(path: Path, encoding: String): Promise[Array[String]]
  44. def readdir(path: Path, options: ReaddirOptions): Promise[|[Array[String], Array[Dirent]]]
  45. def readlink(path: Path, options: FileEncodingOptions): Promise[Output]
  46. def readlink(path: Path, options: String): Promise[Output]
  47. def readlink(path: Path): Promise[String]
  48. def rename(oldPath: Path, newPath: Path): Promise[Unit]
  49. def rmdir(path: Path): Promise[Unit]
  50. def stat(path: Path): Promise[StatsVariant]
  51. def stat(path: Path, options: StatOptions): Promise[StatsVariant]
  52. def symlink(target: Path, path: Path): Promise[Unit]
  53. def symlink(target: Path, path: Path, type: String): Promise[Unit]
  54. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  55. def toLocaleString(): String
    Definition Classes
    Object
  56. def toString(): String
    Definition Classes
    AnyRef → Any
  57. def truncate(path: Path): Promise[Unit]
  58. def truncate(path: Path, length: Int): Promise[Unit]
  59. def unlink(path: Path): Promise[Unit]
  60. def utimes(path: Path, atime: Time, mtime: Time): Promise[Unit]
  61. def valueOf(): Any
    Definition Classes
    Object
  62. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  63. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  64. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  65. def writeFile(file: FileHandle, data: BufferLike, options: FileWriteOptions): Promise[Unit]
  66. def writeFile(file: FileHandle, data: String, options: FileWriteOptions): Promise[Unit]
  67. def writeFile(file: Path, data: BufferLike, options: FileWriteOptions): Promise[Unit]
  68. 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