CacheDiff class
Describes the difference between cached file state and the current filesystem state. Used for incremental cache updates.
Constructors
- CacheDiff.empty()
-
Empty diff — used when no cache exists.
const
-
CacheDiff.internal({required List<
String> unchanged, required List<String> modified, required List<String> added, required List<String> removed}) -
const
Properties
-
added
→ List<
String> -
Files on disk but not in cache (need scanning).
final
- changeCount → int
-
Total number of changes.
no setter
-
filesToRescan
→ List<
String> -
Files that need re-scanning (modified + added).
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- isClean → bool
-
Whether the cache is fully up-to-date with the filesystem.
no setter
-
modified
→ List<
String> -
Files that exist in cache but have different mtimes (need re-scan).
final
-
removed
→ List<
String> -
Files in cache but no longer on disk (need removal from cache).
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
unchanged
→ List<
String> -
Files whose mtimes match the cache (no re-scan needed).
final
Methods
-
equalizedProperties(
) → List< Object?> -
Mixin-style contract for value-based equality,
hashCode, andtoString. -
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