FileStat class abstract
A FileStat object represents the result of calling the POSIX stat() function on a file system object. It is an immutable object, representing the snapshotted values returned by the stat() call.
Constructors
- FileStat()
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- mode → int
-
mode (unix executable only)
no setter
- modified → DateTime
-
The time of the last change to the data of the file system
object.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- size → int
-
The size of the file system object.
no setter
- type → FileSystemEntityType?
-
The type of the object (file, directory, or link). If the call to
stat() fails, the type of the returned object is NOT_FOUND.
no setter
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- modeNotSupported → const int
- mode only supported on io file system