MCPcopy Create free account
hub / github.com/JordanCoin/codemap / capBlastRadiusDepsProject

Function capBlastRadiusDepsProject

blast_radius.go:590–596  ·  view source on GitHub ↗
(project scanner.DepsProject, max int)

Source from the content-addressed store, hash-verified

588}
589
590func capBlastRadiusDepsProject(project scanner.DepsProject, max int) scanner.DepsProject {
591 if max >= len(project.Files) {
592 return project
593 }
594 project.Files = append([]scanner.FileAnalysis(nil), project.Files[:max]...)
595 return project
596}
597
598func capBlastRadiusImportersReport(report scanner.ImportersReport, max int) blastRadiusImporters {
599 cappedImporters := capStringSlice(report.Importers, max)

Callers 1

buildBlastRadiusBundleFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected