OverlayFileBlocked class

relativePath exists at the target but was NOT generated by this tooling — a hand-authored file (no provenance stamp) or a SYMLINK. NEVER clobbered, always reported, and non-zero at the CLI (guards LOUD or GONE: the named invariants are "this tooling never overwrites a file it did not generate" and "it writes nothing outside the target root").

Inheritance

Constructors

OverlayFileBlocked(String relativePath, {bool symlink = false, String? detail})
Creates the blocked outcome. symlink ⇒ the target path is a link; detail replaces the default reason for a refusal with its own cause (a composed file's marker shape), so the operator reads what to fix.
const

Properties

checkClassification → OverlayCheckClassification
How this outcome reads in a --check report.
no setterinherited
detail → String?
The refusal's own cause, when it is not the plain missing-stamp one.
final
hashCode → int
The hash code for this object.
no setterinherited
reason → String
Why it was blocked, and how the operator clears it (the renderer prints this).
no setter
relativePath → String
The file's path relative to the TARGET root (e.g. .claude/skills/discover/SKILL.md) — the resolution's own target path.
finalinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
Whether the target path is a SYMLINK (rather than an unstamped file).
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