Package

io.scalajs.nodejs

fs

Permalink

package fs

fs package object

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

Type Members

  1. type EventType = String

    Permalink
  2. trait FSWatcher extends Object with IEventEmitter

    Permalink

    fs.FSWatcher - Objects returned from fs.watch() are of this type.

    fs.FSWatcher - Objects returned from fs.watch() are of this type.

    Annotations
    @RawJSType() @native()
  3. class FSWatcherOptions extends Object

    Permalink

    FS Watcher Options

    FS Watcher Options

    Annotations
    @RawJSType() @ScalaJSDefined()
  4. class FileAppendOptions extends Object

    Permalink

    File Append Options

    File Append Options

    Annotations
    @RawJSType() @ScalaJSDefined()
  5. class FileEncodingOptions extends Object

    Permalink

    File Encoding Options

    File Encoding Options

    Annotations
    @RawJSType() @ScalaJSDefined()
  6. type FileIOError = SystemError

    Permalink
  7. class FileInputOptions extends Object

    Permalink

    File Input Options

    File Input Options

    Annotations
    @RawJSType() @ScalaJSDefined()
  8. type FileMode = Integer

    Permalink
  9. class FileOutputOptions extends Object

    Permalink

    File Input Options

    File Input Options

    Annotations
    @RawJSType() @ScalaJSDefined()
  10. type FileType = Int

    Permalink
  11. class FileWatcherOptions extends Object

    Permalink

    File Watcher Options

    File Watcher Options

    Annotations
    @RawJSType() @ScalaJSDefined()
  12. type Flags = |[String, Int]

    Permalink
  13. trait Fs extends Object with IEventEmitter

    Permalink

    File I/O is provided by simple wrappers around standard POSIX functions.

    File I/O is provided by simple wrappers around standard POSIX functions. To use this module do require('fs'). All the methods have asynchronous and synchronous forms.

    The asynchronous form always takes a completion callback as its last argument. The arguments passed to the completion callback depend on the method, but the first argument is always reserved for an exception. If the operation was completed successfully, then the first argument will be null or undefined.

    When using the synchronous form any exceptions are immediately thrown. You can use try/catch to handle exceptions or allow them to bubble up.

    Annotations
    @RawJSType() @native()
  14. type FsCallback0 = Function1[FileIOError, Any]

    Permalink
  15. type FsCallback1[A] = Function2[FileIOError, A, Any]

    Permalink
  16. type FsCallback2[A, B] = Function3[FileIOError, A, B, Any]

    Permalink
  17. type FsCallback3[A, B, C] = Function4[FileIOError, A, B, C, Any]

    Permalink
  18. implicit final class FsExtensions extends AnyVal

    Permalink

    File System Extensions

  19. type GID = Int

    Permalink
  20. trait ReadStream extends Object with Readable

    Permalink

    fs.ReadStream - ReadStream is a Readable Stream.

    fs.ReadStream - ReadStream is a Readable Stream.

    Annotations
    @RawJSType() @native()
    See also

    https://nodejs.org/api/stream.html#stream_class_stream_readable

  21. trait Stats extends Object

    Permalink

    fs.Stats (Stat Time Values) - Objects returned from fs.stat(), fs.lstat() and fs.fstat() and their synchronous counterparts are of this type.

    fs.Stats (Stat Time Values) - Objects returned from fs.stat(), fs.lstat() and fs.fstat() and their synchronous counterparts are of this type.

    Annotations
    @RawJSType() @native()
    Since

    0.1.21

  22. type UID = Int

    Permalink
  23. trait WriteStream extends Object with Writable

    Permalink

    fs.WriteStream - WriteStream is a Writable Stream.

    fs.WriteStream - WriteStream is a Writable Stream.

    Annotations
    @RawJSType() @native()
    See also

    https://nodejs.org/api/fs.html#fs_class_fs_writestream

Value Members

  1. object FSWatcher

    Permalink

    File System Watcher Companion

  2. object Fs extends Object with Fs

    Permalink

    File System Singleton

    File System Singleton

    Annotations
    @native() @JSImport( "fs" , JSImport.Namespace )
  3. object ReadStream

    Permalink

    Read Stream Companion

  4. object WriteStream

    Permalink

    Write Stream Companion

Inherited from AnyRef

Inherited from Any

Ungrouped