Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(Provenance): Add
matches(Provenance)
method
In preparation of replacing `VcsInfo` in `Repository` with `KnownProvenance`, we add a method to match `Provenance` against each other. This inherited method, allows any Provenace to by matched against any other. Since the type is veriftied to be equal before matching any attributes, it can even match against `UnknownProvenance`, no need to limit it to `KnownProvenance`. Signed-off-by: Jens Keim <jens.keim@forvia.com>
- Loading branch information