Packages

trait Stats extends Object

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()
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. Object
  3. Any
  4. AnyRef
  5. 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.

  6. def atimeMs: Double
  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.

  8. def birthtimeMs: Double
  9. def blksize: Int
  10. def blocks: Int
  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.

  13. def ctimeMs: Double
  14. def dev: Int
  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: GID
  19. def hasOwnProperty(v: String): Boolean
    Definition Classes
    Object
  20. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  21. def ino: Double
  22. def isBlockDevice(): Boolean
  23. def isCharacterDevice(): Boolean
  24. def isDirectory(): Boolean
  25. def isFIFO(): Boolean
  26. def isFile(): Boolean
  27. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  28. def isPrototypeOf(v: Object): Boolean
    Definition Classes
    Object
  29. def isSocket(): Boolean
  30. def isSymbolicLink(): Boolean

    (only valid with fs.lstat())

  31. def mode: FileMode
  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.

  33. def mtimeMs: Double
  34. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  35. def nlink: Int
  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
  40. def size: Double
  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: UID
  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
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from Object

Inherited from Any

Inherited from AnyRef

Inherited from Any

Ungrouped