Trait

io.scalajs.nodejs.fs

Stats

Related Doc: package fs

Permalink

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
Object, Any, AnyRef, Any
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. 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. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def atime: Date

    Permalink

    "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

    Permalink
  7. def birthtime: Date

    Permalink

    "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

    Permalink
  9. def blksize: Int

    Permalink
  10. def blocks: Int

    Permalink
  11. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  12. def ctime: Date

    Permalink

    "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

    Permalink
  14. def dev: Int

    Permalink
  15. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  17. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  18. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  19. def gid: GID

    Permalink
  20. def hasOwnProperty(v: String): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  22. def ino: Double

    Permalink
  23. def isBlockDevice(): Boolean

    Permalink
  24. def isCharacterDevice(): Boolean

    Permalink
  25. def isDirectory(): Boolean

    Permalink
  26. def isFIFO(): Boolean

    Permalink
  27. def isFile(): Boolean

    Permalink
  28. final def isInstanceOf[T0]: Boolean

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

    Permalink
    Definition Classes
    Object
  30. def isSocket(): Boolean

    Permalink
  31. def isSymbolicLink(): Boolean

    Permalink

    (only valid with fs.lstat())

  32. def mode: FileMode

    Permalink
  33. def mtime: Date

    Permalink

    "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.

  34. def mtimeMs: Double

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

    Permalink
    Definition Classes
    AnyRef
  36. def nlink: Int

    Permalink
  37. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  39. def propertyIsEnumerable(v: String): Boolean

    Permalink
    Definition Classes
    Object
  40. def rdev: Int

    Permalink
  41. def size: Double

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  45. def uid: UID

    Permalink
  46. def valueOf(): Any

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Object

Inherited from Any

Inherited from AnyRef

Inherited from Any

Ungrouped