Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Filters ¶
type Filters struct {
Ticket string
Runtime string
Status string
ExitReason string
RunID string
Since string // RFC3339
Until string // RFC3339
HasFiles string // glob pattern
Branch string
CaptureMethod string // "hooks" | "import"
}
Filters holds the AND-combined query criteria. An empty string (or nil-ish zero value) means the corresponding filter is unset and matches everything.
type QueryStats ¶
QueryStats reports how a query was served, for testing and diagnostics. Source is "index" when the materialized index was used, "refs" when the ref-walk fallback ran. RefShows counts session.json blobs read via git show.
func RunToWithStats ¶
func RunToWithStats(args []string, stdout, stderr io.Writer) (QueryStats, error)
RunToWithStats is RunTo that also returns how the query was served.
Click to show internal directories.
Click to hide internal directories.