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, List<String> transferredPaths = const [], List<String> copiedPaths = const [], List<String> removedPaths = const [], int bytesTransferred = 0, int bytesOnWire = 0})
Creates a sync outcome.

Properties

applied int
Number of changes applied.
final
bytesOnWire int
Bytes actually pushed over the wire, after any transport compression.
final
bytesTransferred int
Uncompressed bytes of transferred content (excludes deduplicated copies).
final
conflict → Conflict?
Set when the sync detected a conflict instead of applying.
final
copiedPaths List<String>
Paths satisfied by a server-side copy of content already present (dedup).
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
removedPaths List<String>
Paths deleted from the destination.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
transferredPaths List<String>
Paths whose content was sent over the wire (directory mounts; empty for git, which syncs atomically on the node).
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