HomeSoftware Heritage

Fix `api_swhid_known` when swhids share hash part

This commit no longer exists in the repository. It may have been part of a branch which was deleted.

Description

Fix api_swhid_known when swhids share hash part

Bug: https://forge.softwareheritage.org/T4224

We need to have separate sets for each type of object.

I have some other cleanups in minds, but this can fix the bug without
touching other repos for now.

Commit No Longer Exists

This commit no longer exists in the repository.