(files []OutputFile)
| 1720 | } |
| 1721 | |
| 1722 | func collectOutputFileNames(files []OutputFile) []string { |
| 1723 | if len(files) == 0 { |
| 1724 | return nil |
| 1725 | } |
| 1726 | names := make([]string, 0, len(files)) |
| 1727 | for _, f := range files { |
| 1728 | if f.FileName != "" { |
| 1729 | names = append(names, f.FileName) |
| 1730 | } |
| 1731 | } |
| 1732 | return names |
| 1733 | } |
| 1734 | |
| 1735 | func logSandboxRequestDebug(ctx context.Context, mode string, url string, reqPayload SandboxRequest, jsonData []byte) { |
| 1736 | logger.Debugf(ctx, "【沙盒】%s请求: url=%s, session_id=%s, cwd=%s, language=%s, timeout=%d, code_chars=%d, injected_files=%d, payload_chars=%d, payload_preview=%s", |
no outgoing calls
no test coverage detected