SyncOutcome class

The outcome of a synchronization, surfaced to the CLI.

Constructors

SyncOutcome({required MountRecord record, SyncDirection? direction, int applied = 0, String? publishedBranch, Conflict? conflict})
Creates a sync outcome.

Properties

applied int
Number of changes applied.
final
conflict → Conflict?
Set when the sync detected a conflict instead of applying.
final
direction → SyncDirection?
The direction actually run, or null for a no-op.
final
hashCode int
The hash code for this object.
no setterinherited
isConflict bool
Whether the sync ended in a conflict.
no setter
publishedBranch String?
For git pushes, the branch the changes were published to.
final
record MountRecord
The resulting mount record (with updated state).
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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