Trait/Object

org.scalajs.nodejs.fs

Fs

Related Docs: object Fs | package fs

Permalink

trait Fs extends Object with NodeModule with EventEmitter

Annotations
@RawJSType() @native()
Linear Supertypes
EventEmitter, NodeModule, Object, Any, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Fs
  2. EventEmitter
  3. NodeModule
  4. Object
  5. Any
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  4. def EventEmitter: Function0[EventEmitter]

    Permalink
    Definition Classes
    EventEmitter
  5. def FSWatcher: Function1[String, FSWatcher]

    Permalink
  6. val F_OK: FileMode

    Permalink
  7. val O_APPEND: Int

    Permalink
  8. val O_CREAT: Int

    Permalink
  9. val O_DIRECT: Int

    Permalink
  10. val O_DIRECTORY: Int

    Permalink
  11. val O_EXCL: Int

    Permalink
  12. val O_NOATIME: Int

    Permalink
  13. val O_NOCTTY: Int

    Permalink
  14. val O_NOFOLLOW: Int

    Permalink
  15. val O_NONBLOCK: Int

    Permalink
  16. val O_RDONLY: Int

    Permalink
  17. val O_RDWR: Int

    Permalink
  18. val O_SYMLINK: Int

    Permalink
  19. val O_SYNC: Int

    Permalink
  20. val O_TRUNC: Int

    Permalink
  21. val O_WRONLY: Int

    Permalink
  22. val R_OK: FileMode

    Permalink
  23. def ReadStream: Function1[String, ReadStream]

    Permalink
  24. val S_IFBLK: FileType

    Permalink
  25. val S_IFCHR: FileType

    Permalink
  26. val S_IFDIR: FileType

    Permalink
  27. val S_IFIFO: FileType

    Permalink
  28. val S_IFLNK: FileType

    Permalink
  29. val S_IFMT: FileType

    Permalink
  30. val S_IFREG: FileType

    Permalink
  31. val S_IFSOCK: FileType

    Permalink
  32. val W_OK: FileMode

    Permalink
  33. def WriteStream: Function1[String, WriteStream]

    Permalink
  34. val X_OK: FileMode

    Permalink
  35. def access(path: |[String, Buffer], callback: Function): Unit

    Permalink
  36. def access(path: |[String, Buffer], mode: FileMode, callback: Function): Unit

    Permalink
  37. def accessSync(path: |[String, Buffer], mode: FileMode = null): Unit

    Permalink
  38. def addListener(eventName: String, listener: Function): Fs.this.type

    Permalink
    Definition Classes
    EventEmitter
  39. def appendFile(file: |[|[String, Buffer], Int], data: |[String, Buffer], callback: Function): Unit

    Permalink
  40. def appendFile(file: |[|[String, Buffer], Int], data: |[String, Buffer], options: |[AppendOptions, NodeOptions], callback: Function): Unit

    Permalink
  41. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  42. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  43. def close(fd: FileDescriptor, callback: Function): Unit

    Permalink
  44. def closeSync(fd: FileDescriptor): Unit

    Permalink
  45. def createReadStream(path: |[String, Buffer], options: |[FileInputOptions, NodeOptions] = null): Readable

    Permalink
  46. def createWriteStream(path: |[String, Buffer], options: |[FileOutputOptions, NodeOptions] = null): Writable

    Permalink
  47. var defaultMaxListeners: Int

    Permalink
    Definition Classes
    EventEmitter
  48. var domain: String

    Permalink
    Definition Classes
    EventEmitter
  49. def emit(eventName: String, arg: Any*): Boolean

    Permalink
    Definition Classes
    EventEmitter
  50. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  51. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  52. def fchmod(fd: FileDescriptor, mode: FileMode, callback: Function): Unit

    Permalink
  53. def fchmodSync(fd: FileDescriptor, mode: FileMode): Unit

    Permalink
  54. def fdatasync(fd: FileDescriptor, callback: Function): Unit

    Permalink
  55. def fdatasyncSync(fd: FileDescriptor): Unit

    Permalink
  56. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  57. def futimes(fd: FileDescriptor, atime: Integer, mtime: Integer, callback: Function): Unit

    Permalink
  58. def futimesSync(fd: FileDescriptor, atime: Integer, mtime: Integer): Unit

    Permalink
  59. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  60. def getMaxListeners(): Int

    Permalink
    Definition Classes
    EventEmitter
  61. def hasOwnProperty(v: String): Boolean

    Permalink
    Definition Classes
    Object
  62. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  63. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  64. def isPrototypeOf(v: Object): Boolean

    Permalink
    Definition Classes
    Object
  65. def lchmod(path: |[String, Buffer], mode: FileMode, callback: Function): Unit

    Permalink
  66. def lchmodSync(path: |[String, Buffer], mode: FileMode): Unit

    Permalink
  67. def lchown(path: |[String, Buffer], uid: Integer, gid: Integer, callback: Function): Unit

    Permalink
  68. def lchownSync(path: |[String, Buffer], uid: Integer, gid: Integer): Unit

    Permalink
  69. def link(srcpath: |[String, Buffer], dstpath: |[String, Buffer], callback: Function): Unit

    Permalink
  70. def listenerCount(eventName: String): Int

    Permalink
    Definition Classes
    EventEmitter
  71. def listeners(eventName: String): Array[Function]

    Permalink
    Definition Classes
    EventEmitter
  72. def mkdir(path: |[String, Buffer], callback: Function): Unit

    Permalink
  73. def mkdir(path: |[String, Buffer], mode: |[FileMode, Any], callback: Function): Unit

    Permalink
  74. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  75. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  76. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  77. def on(eventName: String, listener: Function): Fs.this.type

    Permalink
    Definition Classes
    EventEmitter
  78. def once(eventName: String, listener: Function): Fs.this.type

    Permalink
    Definition Classes
    EventEmitter
  79. def propertyIsEnumerable(v: String): Boolean

    Permalink
    Definition Classes
    Object
  80. def readFile(file: String, callback: Function): Unit

    Permalink
  81. def readFile(file: String, options: |[|[FileInputOptions, NodeOptions], String], callback: Function): Unit

    Permalink
  82. def readFileSync(file: String, options: |[FileInputOptions, NodeOptions] = null): Buffer

    Permalink
  83. def readFileSync(file: String, encoding: String): String

    Permalink
  84. def readFileSync(file: String, encoding: String, options: |[FileInputOptions, NodeOptions]): String

    Permalink
  85. def realpath(path: String, callback: Function): Unit

    Permalink
  86. def realpath(path: String, options: |[FileEncodingOptions, NodeOptions], callback: Function): Unit

    Permalink
  87. def realpathSync(path: String, options: |[FileEncodingOptions, NodeOptions] = null): Unit

    Permalink
  88. def removeAllListeners(): Fs.this.type

    Permalink
    Definition Classes
    EventEmitter
  89. def removeAllListeners(eventName: String): Fs.this.type

    Permalink
    Definition Classes
    EventEmitter
  90. def removeListener(eventName: String, listener: Function): Fs.this.type

    Permalink
    Definition Classes
    EventEmitter
  91. def rename(oldPath: String, newPath: String, callback: Function): Unit

    Permalink
  92. def renameSync(oldPath: String, newPath: String): Unit

    Permalink
  93. def rmdir(path: |[String, Buffer], callback: Function): Unit

    Permalink
  94. def rmdirSync(path: |[String, Buffer]): Unit

    Permalink
  95. def setMaxListeners(n: Int): Fs.this.type

    Permalink
    Definition Classes
    EventEmitter
  96. def stat(path: |[String, Buffer], callback: Function): Stats

    Permalink
  97. def statSync(path: |[String, Buffer]): Stats

    Permalink
  98. def symlink(target: |[String, Buffer], path: |[String, Buffer], callback: Function1[FileIOError, Any]): Unit

    Permalink
  99. def symlink(target: |[String, Buffer], path: |[String, Buffer], type: String, callback: Function1[FileIOError, Any]): Unit

    Permalink
  100. def symlinkSync(target: |[String, Buffer], path: |[String, Buffer], type: String = null): Unit

    Permalink
  101. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  102. def toLocaleString(): String

    Permalink
    Definition Classes
    Object
  103. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  104. def unlink(path: |[String, Buffer], callback: Function): Unit

    Permalink
  105. def unlinkSync(path: |[String, Buffer]): Unit

    Permalink
  106. def unwatchFile(filename: |[String, Buffer], listener: Function = null): Unit

    Permalink
  107. var usingDomains: Boolean

    Permalink
    Definition Classes
    EventEmitter
  108. def utimes(path: |[String, Buffer], atime: Int, mtime: Int, callback: Function): Unit

    Permalink
  109. def utimesSync(path: |[String, Buffer], atime: Int, mtime: Int): Unit

    Permalink
  110. def valueOf(): Any

    Permalink
    Definition Classes
    Object
  111. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  112. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  113. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  114. def watch(filename: String, options: |[FSWatcherOptions, NodeOptions] = null): Unit

    Permalink
  115. def watch(filename: String, listener: Function): Unit

    Permalink
  116. def watch(filename: String, options: |[FSWatcherOptions, NodeOptions], listener: Function): Unit

    Permalink
  117. def writeFile(file: String, data: |[String, Buffer], callback: Function): Unit

    Permalink
  118. def writeFile(file: String, data: |[String, Buffer], options: |[FileOutputOptions, NodeOptions], callback: Function): Unit

    Permalink
  119. def writeFileSync(file: String, data: |[String, Buffer], options: |[FileOutputOptions, NodeOptions] = null): Unit

    Permalink

Deprecated Value Members

  1. def exists(path: String, callback: Function): Unit

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 1.0.0) Use fs.stat() or fs.access() instead.

  2. def existsSync(path: String): Boolean

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 1.0.0) Use fs.statSync() or fs.accessSync() instead.

  3. def listenerCount(emitter: Any, eventName: String): Unit

    Permalink
    Definition Classes
    EventEmitter
    Annotations
    @deprecated
    Deprecated

    (Since version 4.x) Use listenerCount() instead

Inherited from EventEmitter

Inherited from NodeModule

Inherited from Object

Inherited from Any

Inherited from AnyRef

Inherited from Any

Ungrouped