Class

io.scalajs.nodejs.fs

FsExtensions

Related Doc: package fs

Permalink

implicit final class FsExtensions extends AnyVal

File System Extensions

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

Instance Constructors

  1. new FsExtensions(fs: Fs)

    Permalink

    fs

    the given file system instance

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    Any
  4. def accessAsync(path: |[Buffer, String], mode: FileMode = null): Promise[Unit]

    Permalink
    Annotations
    @inline()
  5. def appendFileAsync(file: |[|[Buffer, FileDescriptor], String], data: |[Buffer, String], options: FileAppendOptions = null): Promise[Unit]

    Permalink
    Annotations
    @inline()
  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. def chmodAsync(path: |[Buffer, String], mode: FileMode, callback: Function1[FileIOError, Any]): Promise[Unit]

    Permalink
    Annotations
    @inline()
  8. def closeAsync(fd: FileDescriptor): Promise[Unit]

    Permalink
    Annotations
    @inline()
  9. def existsAsync(path: String): Promise[Boolean]

    Permalink
    Annotations
    @inline()
  10. def fdatasyncAsync(fd: FileDescriptor): Promise[Unit]

    Permalink
    Annotations
    @inline()
  11. val fs: Fs

    Permalink

    the given file system instance

  12. def futimesAsync(fd: FileDescriptor, atime: Integer, mtime: Integer): Promise[Unit]

    Permalink
    Annotations
    @inline()
  13. def getClass(): Class[_ <: AnyVal]

    Permalink
    Definition Classes
    AnyVal → Any
  14. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  15. def lchmodAsync(path: |[Buffer, String], mode: FileMode): Promise[Unit]

    Permalink
    Annotations
    @inline()
  16. def lchownAsync(path: |[Buffer, String], uid: UID, gid: GID): Promise[Unit]

    Permalink
    Annotations
    @inline()
  17. def linkAsync(srcpath: |[Buffer, String], dstpath: |[Buffer, String]): Promise[Unit]

    Permalink
    Annotations
    @inline()
  18. def mkdirAsync(path: |[Buffer, String], mode: FileMode = null): Promise[Unit]

    Permalink
    Annotations
    @inline()
  19. def openAsync(path: |[Buffer, String], flags: Flags, mode: FileMode = null): Promise[FileDescriptor]

    Permalink
    Annotations
    @inline()
  20. def readAsync(fd: FileDescriptor, buffer: Buffer, offset: Int, length: Int, position: Int): Promise[(Int, Buffer)]

    Permalink
    Annotations
    @inline()
  21. def readFileAsync(file: String, options: FileInputOptions = null): Promise[Any]

    Permalink
    Annotations
    @inline()
  22. def readdirAsync(path: |[Buffer, String], options: |[|[String, FileEncodingOptions], RawOptions] = null): Promise[Array[String]]

    Permalink
    Annotations
    @inline()
  23. def realpathAsync(path: String, options: FileEncodingOptions = null): Promise[String]

    Permalink
    Annotations
    @inline()
  24. def renameAsync(oldPath: String, newPath: String): Promise[Unit]

    Permalink
    Annotations
    @inline()
  25. def rmdirAsync(path: |[Buffer, String]): Promise[Unit]

    Permalink
    Annotations
    @inline()
  26. def statAsync(path: String): Promise[Stats]

    Permalink
    Annotations
    @inline()
  27. def symlinkAsync(target: |[Buffer, String], path: |[Buffer, String], type: String = null): Promise[Unit]

    Permalink
    Annotations
    @inline()
  28. def toString(): String

    Permalink
    Definition Classes
    Any
  29. def unlinkAsync(path: |[Buffer, String]): Promise[Unit]

    Permalink
    Annotations
    @inline()
  30. def unwatchFileAsync(filename: |[Buffer, String]): Promise[Unit]

    Permalink
    Annotations
    @inline()
  31. def utimesAsync(path: |[Buffer, String], atime: Int, mtime: Int): Promise[Unit]

    Permalink
    Annotations
    @inline()
  32. def watchAsync(filename: String, options: FSWatcherOptions = null): Promise[(String, String)]

    Permalink
    Annotations
    @inline()
  33. def writeAsync(fd: FileDescriptor, string: String): Promise[(FileType, String)]

    Permalink
    Annotations
    @inline()
  34. def writeAsync(fd: FileDescriptor, string: String, position: Int): Promise[(FileType, String)]

    Permalink
    Annotations
    @inline()
  35. def writeAsync(fd: FileDescriptor, string: String, position: Int, encoding: String): Promise[(FileType, String)]

    Permalink
    Annotations
    @inline()
  36. def writeAsync(fd: FileDescriptor, buffer: |[Buffer, Uint8Array], offset: Integer = null, length: Integer = null, position: Integer = null): Promise[(FileType, Buffer)]

    Permalink
    Annotations
    @inline()
  37. def writeFileAsync(file: String, data: |[Buffer, String], options: FileOutputOptions = null): Promise[Unit]

    Permalink
    Annotations
    @inline()

Inherited from AnyVal

Inherited from Any

Ungrouped