trait Stats extends Object with IStats[Int, Double]

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

Annotations
@JSType() @native()
Example:
  1. Stats {
      dev: 2114,
      ino: 48064969,
      mode: 33188,
      nlink: 1,
      uid: 85,
      gid: 100,
      rdev: 0,
      size: 527,
      blksize: 4096,
      blocks: 8,
      atimeMs: 1318289051000.1,
      mtimeMs: 1318289051000.1,
      ctimeMs: 1318289051000.1,
      birthtimeMs: 1318289051000.1,
      atime: Mon, 10 Oct 2011 23:24:11 GMT,
      mtime: Mon, 10 Oct 2011 23:24:11 GMT,
      ctime: Mon, 10 Oct 2011 23:24:11 GMT,
      birthtime: Mon, 10 Oct 2011 23:24:11 GMT
    }
Since

0.1.21

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Stats
  2. IStats
  3. Object
  4. Any
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def atime: Date

    "Access Time" - Time when file data last accessed.

    "Access Time" - Time when file data last accessed. Changed by the mknod(2), utimes(2), and read(2) system calls.

    Definition Classes
    IStats
  6. def atimeMs: Double
    Definition Classes
    IStats
  7. def birthtime: Date

    "Birth Time" - Time of file creation.

    "Birth Time" - Time of file creation. Set once when the file is created. On filesystems where birthtime is not available, this field may instead hold either the ctime or 1970-01-01T00:00Z (ie, unix epoch timestamp 0). Note that this value may be greater than atime or mtime in this case. On Darwin and other FreeBSD variants, also set if the atime is explicitly set to an earlier value than the current birthtime using the utimes(2) system call.

    Definition Classes
    IStats
  8. def birthtimeMs: Double
    Definition Classes
    IStats
  9. def blksize: Int
    Definition Classes
    IStats
  10. def blocks: Int
    Definition Classes
    IStats
  11. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  12. def ctime: Date

    "Change Time" - Time when file status was last changed (inode data modification).

    "Change Time" - Time when file status was last changed (inode data modification). Changed by the chmod(2), chown(2), link(2), mknod(2), rename(2), unlink(2), utimes(2), read(2), and write(2) system calls.

    Definition Classes
    IStats
  13. def ctimeMs: Double
    Definition Classes
    IStats
  14. def dev: Int
    Definition Classes
    IStats
  15. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  17. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  18. def gid: Int
    Definition Classes
    IStats
  19. def hasOwnProperty(v: String): Boolean
    Definition Classes
    Object
  20. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  21. def ino: Double
    Definition Classes
    IStats
  22. def isBlockDevice(): Boolean
    Definition Classes
    IStats
  23. def isCharacterDevice(): Boolean
    Definition Classes
    IStats
  24. def isDirectory(): Boolean
    Definition Classes
    IStats
  25. def isFIFO(): Boolean
    Definition Classes
    IStats
  26. def isFile(): Boolean
    Definition Classes
    IStats
  27. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  28. def isPrototypeOf(v: Object): Boolean
    Definition Classes
    Object
  29. def isSocket(): Boolean
    Definition Classes
    IStats
  30. def isSymbolicLink(): Boolean

    (only valid with fs.lstat())

    (only valid with fs.lstat())

    Definition Classes
    IStats
  31. def mode: Int
    Definition Classes
    IStats
  32. def mtime: Date

    "Modified Time" - Time when file data last modified.

    "Modified Time" - Time when file data last modified. Changed by the mknod(2), utimes(2), and write(2) system calls.

    Definition Classes
    IStats
  33. def mtimeMs: Double
    Definition Classes
    IStats
  34. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  35. def nlink: Int
    Definition Classes
    IStats
  36. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  37. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  38. def propertyIsEnumerable(v: String): Boolean
    Definition Classes
    Object
  39. def rdev: Int
    Definition Classes
    IStats
  40. def size: Double
    Definition Classes
    IStats
  41. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  42. def toLocaleString(): String
    Definition Classes
    Object
  43. def toString(): String
    Definition Classes
    AnyRef → Any
  44. def uid: Int
    Definition Classes
    IStats
  45. def valueOf(): Any
    Definition Classes
    Object
  46. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  47. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  48. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from IStats[Int, Double]

Inherited from Object

Inherited from Any

Inherited from AnyRef

Inherited from Any

Ungrouped