TomSecretsFileHashes class final

SHA-256 hashes of files, cached by path, size and modification time: computed on demand, for a pinned grant.

Constructors

TomSecretsFileHashes()

Properties

computed ↔ int
How many hashes were computed (not taken from the cache).
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

hashOf(String path) → String?
The SHA-256 (hex) of the file at path, or null when it cannot be read.
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