Packages

c

io.scalajs.nodejs.fs

FsExtensions

implicit final class FsExtensions extends AnyVal

File System Extensions

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. FsExtensions
  2. AnyVal
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new FsExtensions(instance: Fs)

    instance

    the given file system instance

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    Any
  2. final def ##(): Int
    Definition Classes
    Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    Any
  4. def accessFuture(path: |[Buffer, String], mode: FileMode): Future[Unit]
    Annotations
    @inline()
  5. def accessFuture(path: |[Buffer, String]): Future[Unit]
    Annotations
    @inline()
  6. def appendFileFuture(file: |[|[Buffer, FileDescriptor], String], data: |[Buffer, String], options: FileAppendOptions = null): Future[Unit]
    Annotations
    @inline()
  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. def chmodFuture(path: |[Buffer, String], mode: FileMode): Future[Unit]
    Annotations
    @inline()
  9. def chownFuture(path: Path, uid: UID, gid: GID): Future[Unit]
    Annotations
    @inline()
  10. def copyFileFuture(src: Path, dest: Path): Future[Unit]
    Annotations
    @inline()
  11. def copyFileFuture(src: Path, dest: Path, flags: Flags): Future[Unit]
    Annotations
    @inline()
  12. def existsFuture(path: Path): Future[Boolean]
    Annotations
    @inline()
  13. def fchmodFuture(fd: FileDescriptor, mode: FileMode): Future[Unit]
    Annotations
    @inline()
  14. def fchownFuture(fd: FileDescriptor, uid: UID, gid: GID): Future[Unit]
    Annotations
    @inline()
  15. def fdatasyncFuture(fd: FileDescriptor): Future[Unit]
    Annotations
    @inline()
  16. def fstatFuture(fd: FileDescriptor): Future[Stats]
    Annotations
    @inline()
  17. def fstatFuture(fd: FileDescriptor, options: StatOptions): Future[Stats]
    Annotations
    @inline()
  18. def fsyncFuture(fd: FileDescriptor): Future[Unit]
    Annotations
    @inline()
  19. def ftruncateFuture(fd: FileDescriptor): Future[Unit]
    Annotations
    @inline()
  20. def futimesFuture(fd: FileDescriptor, atime: Time, mtime: Time): Future[Unit]
    Annotations
    @inline()
  21. def getClass(): Class[_ <: AnyVal]
    Definition Classes
    AnyVal → Any
  22. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  23. def lchmodFuture(path: Path, mode: FileMode): Future[Unit]
    Annotations
    @inline()
  24. def lchownFuture(path: Path, uid: UID, gid: GID): Future[Unit]
    Annotations
    @inline()
  25. def linkFuture(srcpath: Path, dstpath: Path): Future[Unit]
    Annotations
    @inline()
  26. def lstatFuture(path: Path): Future[Stats]
    Annotations
    @inline()
  27. def mkdirFuture(path: Path): Future[Unit]
    Annotations
    @inline()
  28. def mkdirFuture(path: Path, mode: FileMode): Future[Unit]
    Annotations
    @inline()
  29. def mkdtempFuture(prefix: String): Future[String]
    Annotations
    @inline()
  30. def mkdtempFuture(prefix: String, options: FileEncodingOptions): Future[String]
    Annotations
    @inline()
  31. def openFuture(path: Path, flags: Flags): Future[FileDescriptor]
    Annotations
    @inline()
  32. def openFuture(path: Path, flags: Flags, mode: FileMode): Future[FileDescriptor]
    Annotations
    @inline()
  33. def readFileFuture(file: |[Path, FileDescriptor]): Future[Buffer]
    Annotations
    @inline()
  34. def readFileFuture(file: |[Path, FileDescriptor], encoding: String): Future[String]
    Annotations
    @inline()
  35. def readFileFuture(file: |[Path, FileDescriptor], options: ReadFileOptions): Future[Output]
    Annotations
    @inline()
  36. def readFuture(fd: FileDescriptor, buffer: Buffer, offset: |[Int, Null], length: |[Int, Null], position: |[Int, Null]): Future[(Int, Buffer)]
    Annotations
    @inline()
  37. def readdirBufferFuture(path: Path): Future[Array[Buffer]]
    Annotations
    @inline()
  38. def readdirFuture(path: Path, options: FileEncodingOptions): Future[Array[String]]
    Annotations
    @inline()
  39. def readdirFuture(path: Path, encoding: String = "utf8"): Future[Array[String]]
    Annotations
    @inline()
  40. def readlinkFuture(file: Path): Future[String]
    Annotations
    @inline()
  41. def readlinkFuture(file: Path, options: |[String, FileEncodingOptions]): Future[Output]
    Annotations
    @inline()
  42. def realpathFuture(file: Path): Future[String]
    Annotations
    @inline()
  43. def realpathFuture(file: Path, options: |[String, FileEncodingOptions]): Future[Output]
    Annotations
    @inline()
  44. def renameFuture(oldPath: Path, newPath: Path): Future[Unit]
    Annotations
    @inline()
  45. def rmdirFuture(path: Path): Future[Unit]
    Annotations
    @inline()
  46. def statFuture(path: Path): Future[Stats]
    Annotations
    @inline()
  47. def symlinkFuture(target: Path, path: Path): Future[Unit]
    Annotations
    @inline()
  48. def symlinkFuture(target: Path, path: Path, type: String): Future[Unit]
    Annotations
    @inline()
  49. def toString(): String
    Definition Classes
    Any
  50. def truncateFuture(target: Path, length: Int): Future[Unit]
    Annotations
    @inline()
  51. def truncateFuture(target: Path): Future[Unit]
    Annotations
    @inline()
  52. def unlinkFuture(path: Path): Future[Unit]
    Annotations
    @inline()
  53. def unwatchFileFuture(filename: Path): Future[Unit]
    Annotations
    @inline()
  54. def utimesFuture(path: Path, atime: Time, mtime: Time): Future[Unit]
    Annotations
    @inline()
  55. def watchFileFuture(filename: Path, options: FileWatcherOptions): Future[(Stats, Stats)]
    Annotations
    @inline()
  56. def watchFileFuture(filename: Path): Future[(Stats, Stats)]
    Annotations
    @inline()
  57. def watchFuture(filename: Path, options: FSWatcherOptions): Future[(EventType, String)]
    Annotations
    @inline()
  58. def watchFuture(filename: Path): Future[(EventType, String)]
    Annotations
    @inline()
  59. def writeFileFuture(file: String, data: String): Future[Unit]
    Annotations
    @inline()
  60. def writeFileFuture(file: String, data: String, options: FileWriteOptions): Future[Unit]
    Annotations
    @inline()
  61. def writeFileFuture(file: String, data: Uint8Array, options: FileWriteOptions = null): Future[Unit]
    Annotations
    @inline()
  62. def writeFuture(fd: FileDescriptor, string: String): Future[(FileType, String)]
    Annotations
    @inline()
  63. def writeFuture(fd: FileDescriptor, string: String, position: Int): Future[(FileType, String)]
    Annotations
    @inline()
  64. def writeFuture(fd: FileDescriptor, string: String, position: Int, encoding: String): Future[(FileType, String)]
    Annotations
    @inline()
  65. def writeFuture(fd: FileDescriptor, buffer: Uint8Array, offset: |[Int, Null] = null, length: |[Int, Null] = null, position: |[Int, Null] = null): Future[(FileType, Buffer)]
    Annotations
    @inline()

Inherited from AnyVal

Inherited from Any

Ungrouped