MCPcopy Create free account
hub / github.com/GongShichen/LuminaCode / joinFindingDescriptions

Function joinFindingDescriptions

tools/bash/security.go:395–404  ·  view source on GitHub ↗
(findings []SecurityFinding, limit int)

Source from the content-addressed store, hash-verified

393}
394
395func joinFindingDescriptions(findings []SecurityFinding, limit int) string {
396 if limit > len(findings) {
397 limit = len(findings)
398 }
399 parts := make([]string, 0, limit)
400 for i := 0; i < limit; i++ {
401 parts = append(parts, findings[i].Description)
402 }
403 return strings.Join(parts, "; ")
404}
405
406func IsASCII(s string) bool {
407 for len(s) > 0 {

Callers 1

analyzeSingleCommandFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected