Summary
Custom lint scan found 1 non-shared function-length finding in pkg/parser/remote_list_files.go.
Root cause
getOrCreateListRepoClone in the parser package exceeds the custom largefunc limit and should be split into smaller helpers.
Affected diagnostic
pkg/parser/remote_list_files.go:36: getOrCreateListRepoClone is 69 lines long (limit: 60)
Expected outcome
Refactor only this parser function into smaller, focused helpers while preserving behavior.
Remediation checklist
Fused guidance for the assignee
- Keep the fix narrowly scoped to this lint group.
- Prefer minimal, targeted code edits.
- Validate with
make golint-custom before handoff.
Generated by 🧌 LintMonster · 35 AIC · ⌖ 6.82 AIC · ⊞ 4.4K · ◷
Summary
Custom lint scan found 1 non-shared function-length finding in
pkg/parser/remote_list_files.go.Root cause
getOrCreateListRepoClonein the parser package exceeds the customlargefunclimit and should be split into smaller helpers.Affected diagnostic
pkg/parser/remote_list_files.go:36:getOrCreateListRepoCloneis 69 lines long (limit: 60)Expected outcome
Refactor only this parser function into smaller, focused helpers while preserving behavior.
Remediation checklist
pkg/parser/remote_list_files.go.make golint-custom.Fused guidance for the assignee
make golint-custombefore handoff.