FileDiff class
The comparison of one path between a directory mount's local copy and the node. At most one of local/origin is null (an absent side).
Constructors
Properties
- binary → bool
-
True when at least one present side holds binary content.
final
- hasContent → bool
-
True when content bytes are available for a line-level diff.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- identical → bool
-
True when both sides exist and hash identically.
no setter
- local → FileManifestEntry?
-
The local entry, or null when the file is absent locally.
final
-
localBytes
→ List<
int> ? -
Local bytes — populated only for a small, textual file; null otherwise.
final
- origin → FileManifestEntry?
-
The origin entry, or null when the file is absent on the node.
final
-
originBytes
→ List<
int> ? -
Origin bytes — populated only for a small, textual file; null otherwise.
final
- path → String
-
Forward-slash relative path that was compared.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- side → FileDivergence
-
Which side moved off the baseline (and thus how a sync would reconcile it).
final
- tooLarge → bool
-
True when at least one side exceeds the inline-diff size limit.
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