MCPcopy Create free account
hub / github.com/compozy/agh / Resolver

Struct Resolver

internal/workspace/resolver.go:36–48  ·  view source on GitHub ↗

Resolver resolves persisted workspaces into runtime workspace snapshots.

Source from the content-addressed store, hash-verified

34
35// Resolver resolves persisted workspaces into runtime workspace snapshots.
36type Resolver struct {
37 store Store
38 homePaths aghconfig.HomePaths
39 loadConfig ConfigLoader
40 logger *slog.Logger
41 now func() time.Time
42 cacheTTL time.Duration
43 idGenerator func(prefix string) string
44 changeHook ChangeHook
45
46 mu sync.RWMutex
47 cache map[string]*cachedEntry
48}
49
50var _ RuntimeResolver = (*Resolver)(nil)
51

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected