FileReportStore class

文件系统实现。

布局:

rootDir/
  index.jsonl         # 每行一个 run 索引
  reports/
    {safe_runName}.json
Implemented types

Constructors

FileReportStore(Directory rootDir)

Properties

hashCode int
The hash code for this object.
no setterinherited
indexFile File
final
reportsDir Directory
final
rootDir Directory
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

listRecent({required String suiteName, int limit = 10}) Future<List<RunIndexEntry>>
列出某 suite 最近 N 次的索引条目(轻量),按时间倒序。
override
listRunNames({String? suiteFilter, int? limit}) Future<List<String>>
override
load(String runName) Future<PersistedRunReport?>
override
loadRecent({required String suiteName, int limit = 10}) Future<List<PersistedRunReport>>
加载某 suite 最近 N 次完整快照,按时间倒序。
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
save(EvalRunReport report) Future<void>
override
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited