Resolver resolves persisted workspaces into runtime workspace snapshots.
| 34 | |
| 35 | // Resolver resolves persisted workspaces into runtime workspace snapshots. |
| 36 | type 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 | |
| 50 | var _ RuntimeResolver = (*Resolver)(nil) |
| 51 |
nothing calls this directly
no outgoing calls
no test coverage detected