RepoStat class

File/directory metadata produced by RepositoryAdapter.stat.

Constructors

RepoStat({required String path, required bool exists, required bool isDir, required int size, required int lineCount, String? modified})
const
RepoStat.fromJson(Map<String, Object?> json)
factory

Properties

exists → bool
final
hashCode → int
The hash code for this object.
no setterinherited
isDir → bool
final
lineCount → int
final
modified → String?
Last-modified time as an ISO-8601 string, when available.
final
path → String
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
size → int
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, Object?>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited