mirror of
https://github.com/anchore/syft.git
synced 2026-11-04 00:16:38 +01:00
fix: keep RealPath as top-level, use FullPath and utility functions FullNestedPath, LocalPath, Path
Signed-off-by: Keith Zantow <kzantow@gmail.com>
This commit is contained in:
@@ -3410,9 +3410,7 @@ func match(classifier string, paths ...string) pkg.ClassifierMatch {
|
||||
return pkg.ClassifierMatch{
|
||||
Classifier: classifier,
|
||||
Location: file.NewVirtualLocationFromCoordinates(
|
||||
file.Coordinates{
|
||||
RealPath: realPath,
|
||||
},
|
||||
file.NewCoordinates(realPath, ""),
|
||||
virtualPath,
|
||||
),
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user