(value interface{})
| 1344 | } |
| 1345 | |
| 1346 | func parseBoolValue(value interface{}) bool { |
| 1347 | switch v := value.(type) { |
| 1348 | case bool: |
| 1349 | return v |
| 1350 | case string: |
| 1351 | return strings.EqualFold(strings.TrimSpace(v), "true") |
| 1352 | default: |
| 1353 | return false |
| 1354 | } |
| 1355 | } |
| 1356 | |
| 1357 | func formatSandboxClientWrittenFile(ctx context.Context, sessionID string, cwd string, path string) error { |
| 1358 | if strings.TrimSpace(sessionID) == "" { |
no outgoing calls
no test coverage detected