HashlinePreparedSection class final

Opaque token returned by HashlinePatcher.prepare. Carries the section, the raw file content read off the filesystem, and the in-memory apply result. HashlinePatcher.commit just writes it.

Properties

applyResult HashlineApplyResult
The in-memory apply result.
final
bom String
Leading BOM ('' or '\uFEFF').
final
canonicalPath String
Env-canonical path key.
final
hashCode int
The hash code for this object.
no setterinherited
isNoop bool
True when the apply produced no change.
no setter
lineEnding LineEnding
Detected line-ending style.
final
normalized String
Pre-edit text (LF-normalized, BOM-stripped).
final
parseWarnings List<String>
Warnings collected while parsing the section body.
final
rawContent String
Raw file content as read.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
section HashlinePatchSection
The (possibly path-recovered) section.
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