Packages

trait JSFs extends scalajs.js.Any

Facade for native nodejs module "fs".

Annotations
@RawJSType() @native()
See also

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

Linear Supertypes
scalajs.js.Any, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. JSFs
  2. Any
  3. AnyRef
  4. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  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. def +(other: String): String
    Implicit
    This member is added by an implicit conversion from JSFs to any2stringadd[JSFs] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (JSFs, B)
    Implicit
    This member is added by an implicit conversion from JSFs to ArrowAssoc[JSFs] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  8. def ensuring(cond: (JSFs) ⇒ Boolean, msg: ⇒ Any): JSFs
    Implicit
    This member is added by an implicit conversion from JSFs to Ensuring[JSFs] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  9. def ensuring(cond: (JSFs) ⇒ Boolean): JSFs
    Implicit
    This member is added by an implicit conversion from JSFs to Ensuring[JSFs] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  10. def ensuring(cond: Boolean, msg: ⇒ Any): JSFs
    Implicit
    This member is added by an implicit conversion from JSFs to Ensuring[JSFs] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  11. def ensuring(cond: Boolean): JSFs
    Implicit
    This member is added by an implicit conversion from JSFs to Ensuring[JSFs] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  12. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  14. def existsSync(path: String): Boolean

    Returns true if the file exists, false otherwise.

  15. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  16. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from JSFs to StringFormat[JSFs] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  17. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  18. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  19. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  20. def lstatSync(path: String): JSStats

    Returns an fs.Stats for path.

  21. def mkdirSync(path: String): Unit

    Synchronously creates a directory.

  22. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  23. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  24. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  25. def readFileSync(path: String, encoding: String): String

    Returns the file contents as String using blocking apis

  26. def readFileSync(path: String): scalajs.js.Array[Int]

    Returns the file contents as Buffer using blocking apis.

    Returns the file contents as Buffer using blocking apis.

    NOTE: The actual return value is a Node.js buffer and not js.Array[Int]. However, both support .length and angle bracket access (foo[1]).

  27. def readdirSync(path: String): scalajs.js.Array[String]

    Returns an array of filenames excluding '.' and '..'.

  28. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  29. def toString(): String
    Definition Classes
    AnyRef → Any
  30. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  33. def writeFileSync(path: String, buffer: scalajs.js.Array[Int]): Unit

    Writes file contents using blocking apis

  34. def [B](y: B): (JSFs, B)
    Implicit
    This member is added by an implicit conversion from JSFs to ArrowAssoc[JSFs] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Inherited from scalajs.js.Any

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from JSFs to any2stringadd[JSFs]

Inherited by implicit conversion StringFormat from JSFs to StringFormat[JSFs]

Inherited by implicit conversion Ensuring from JSFs to Ensuring[JSFs]

Inherited by implicit conversion ArrowAssoc from JSFs to ArrowAssoc[JSFs]

Ungrouped