DriveChanges class

The set of paths that differ between a directory mount's local copy and the node, grouped by which side changed. Produced read-only by DriveManager.conflicts — no sync or resolve is performed.

Constructors

DriveChanges({List<String> conflicts = const [], List<String> localOnly = const [], List<String> remoteOnly = const [], List<String> unknown = const [], Map<String, FileDiff> diffs = const {}})
Creates a changes summary.

Properties

conflicts → List<String>
Paths edited on both sides to different content — true conflicts.
final
diffs → Map<String, FileDiff>
Per-conflict diffs, keyed by path — populated only when the caller asked for them (see DriveManager.conflicts); empty otherwise.
final
hasConflicts → bool
True when at least one path was edited on both sides.
no setter
hashCode → int
The hash code for this object.
no setterinherited
isEmpty → bool
True when local and node fully agree.
no setter
localOnly → List<String>
Paths changed only locally — a sync would push them.
final
remoteOnly → List<String>
Paths changed only on the node — a sync would pull them.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
total → int
Total number of differing paths.
no setter
unknown → List<String>
Paths that differ but whose changed side is unknown (no baseline snapshot).
final

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
The equality operator.
inherited