Skip to content
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

Fix directory resolver to always return virtual path #2259

Merged
merged 2 commits into from
Nov 2, 2023

Conversation

wagoodman
Copy link
Contributor

@wagoodman wagoodman commented Oct 26, 2023

Partially Addresses #1836

This PR changes the API to populate VirtualPath for all Location objects returned from all file.Resolver implementations. This is an API change only, this does not affect the JSON output (which would fully address #1836). That should probably be tackled in conjunction with #1835 .

@wagoodman wagoodman marked this pull request as ready for review November 1, 2023 16:37
@wagoodman wagoodman requested a review from a team November 1, 2023 16:38
@wagoodman wagoodman self-assigned this Nov 1, 2023
@wagoodman wagoodman merged commit 6c41f15 into main Nov 2, 2023
10 checks passed
@wagoodman wagoodman deleted the consistent-resolver-behavior branch November 2, 2023 12:20
GijsCalis pushed a commit to GijsCalis/syft that referenced this pull request Feb 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants