MCPcopy Create free account
hub / github.com/Facets-cloud/flow / BuildOpts

Struct BuildOpts

internal/stats/report.go:42–50  ·  view source on GitHub ↗

BuildOpts are the injectable inputs to BuildStats (paths injected so tests can point at temp dirs).

Source from the content-addressed store, hash-verified

40// BuildOpts are the injectable inputs to BuildStats (paths injected so
41// tests can point at temp dirs).
42type BuildOpts struct {
43 Root string
44 ClaudeProjects string
45 DB *sql.DB
46 Cache *Cache
47 Constants Constants
48 Since time.Time // zero = all-time
49 Project string // "" = all
50}
51
52// BuildStats derives a Stats from flow.db + transcripts + on-disk dirs.
53func BuildStats(o BuildOpts) (Stats, error) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected