HomeSoftware Heritage

Update the HashableObject interface to take the object itself

Description

Update the HashableObject interface to take the object itself

This will enable a gradual enhancement of the functions in identifiers.py to
take model objects directly, and return the bytes of the hash instead of an
hex representation.