ProjectContextFile class final
One discovered context file.
Constructors
- ProjectContextFile({required String path, required String content, int? excerptBytes, int? originalBytes})
-
const
Properties
- content → String
-
Verbatim file content; for a budget-truncated file the head excerpt
followed by the read-the-full-file instruction (issue #1761).
final
- excerptBytes → int?
-
Length of the kept head excerpt when the budget truncated this file;
null = kept whole. The fact, not arithmetic on rendered output —
the size marker quotes it directly.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isTruncated → bool
-
Whether the merged budget cut this file down to a head excerpt.
no setter
- originalBytes → int?
-
Original content length when the budget truncated this file;
null = kept whole.
final
- path → String
-
Absolute path of the file.
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