WorktreeScanCost class final

One scan's measured cost — the in-budget check's raw material.

Annotations
  • @immutable

Constructors

WorktreeScanCost({required int worktrees, required int scanned, required int entries, required Duration elapsed})
const

Properties

elapsed Duration
final
entries int
Filesystem entries stat'ed across the whole scan — the term that grows with N concurrent worktrees, and the one a budget is written against.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scanned int
Paths that actually had a .grid directory to walk.
final
worktrees int
Paths handed in.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

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