FileManifestEntry class
A single file recorded in a FileManifest.
mtime is captured for diagnostics but deliberately excluded from the manifest hash so the directory reference stays content-addressed and reproducible across machines.
Constructors
- FileManifestEntry({required String path, required int size, required ContentHash hash, DateTime? mtime})
-
const
-
FileManifestEntry.fromJson(Map<
String, dynamic> json) -
factory
Properties
- hash → ContentHash
-
Content hash of the file bytes.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- mtime → DateTime?
-
Last modified time, if known. Not part of the manifest hash.
final
- path → String
-
Forward-slash relative path from the drive root.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- size → int
-
File size in bytes.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override