Skip to content

dev: replace FileCache by LineCache #5518

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 10, 2025
Merged

Conversation

ldez
Copy link
Member

@ldez ldez commented Mar 10, 2025

FileCache was related to output.path-prefix, in v2, this option only modifies user facing elements.

Previously, it was used to modify the matching, but in v2, the option run.relative-path-mode controls the matching.

FileCache was a wrapper around LineCache to handle path prefix, now this structure is useless, we can use LineCache directly.

@ldez ldez added the topic: cleanup Related to code, process, or doc cleanup label Mar 10, 2025
@ldez ldez added this to the v2-unreleased milestone Mar 10, 2025
@ldez ldez requested review from alexandear and bombsimon March 10, 2025 13:43
@ldez ldez merged commit fc52a16 into golangci:main Mar 10, 2025
18 checks passed
@ldez ldez deleted the feat/file-cache branch March 10, 2025 20:29
@busser busser mentioned this pull request Mar 14, 2025
Closed
@ldez ldez modified the milestones: v2-unreleased, v2 Mar 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic: cleanup Related to code, process, or doc cleanup
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants