Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Prevent symlinks causing duplicate package-file relationships
As symlinks are traversed as part of file resolution, a scenario in which a package owns a file and its respective symlinks, causes multiple relationships to be created between the package and the file (as the symlinks do not appear in the list of files in the output). We prevent these files from being confused with each other by de-duplicating the files at the point of creating ownerships, and removing duplicate coordinates. This ensures we only get a single copy of each relationship. Signed-off-by: Justin Chadwell <[email protected]>
- Loading branch information