TomFileRevision class
The version of a file as it was read: what a write is checked against.
Constructors
- TomFileRevision({required DateTime modified, required int size, required String sha256})
-
const
- TomFileRevision.of(Uint8List bytes, DateTime modified)
-
The revision of
byteslast modified atmodified.factory
Properties
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 -
Two revisions are the same file content; the time is not compared, so
a write of identical bytes is not a change.
override