(ws Workspace, cfg *aghconfig.Config)
| 315 | } |
| 316 | |
| 317 | func resolveWorkspaceSandbox(ws Workspace, cfg *aghconfig.Config) (sandbox.Resolved, error) { |
| 318 | ref := strings.TrimSpace(ws.SandboxRef) |
| 319 | if ref == "" { |
| 320 | ref = strings.TrimSpace(cfg.Defaults.Sandbox) |
| 321 | } |
| 322 | return cfg.ResolveSandbox(ref) |
| 323 | } |
| 324 | |
| 325 | func (c *cachedEntry) canReuse(ws Workspace, snapshots map[string]filesnap.Snapshot) bool { |
| 326 | if c == nil { |
no test coverage detected