https://github.com/SoftwareHeritage/swh-model
Revision 498a1076416ad19f2628b20cb972096b2dfb3854 authored by Nicolas Dandrimont on 19 October 2020, 13:30:53 UTC, committed by Nicolas Dandrimont on 23 October 2020, 15:12:34 UTC
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.
1 parent aa84d8d
History
Tip revision: 498a1076416ad19f2628b20cb972096b2dfb3854 authored by Nicolas Dandrimont on 19 October 2020, 13:30:53 UTC
Update the HashableObject interface to take the object itself
Tip revision: 498a107
File Mode Size
bin
docs
swh
.gitignore -rw-r--r-- 137 bytes
.pre-commit-config.yaml -rw-r--r-- 1021 bytes
AUTHORS -rw-r--r-- 112 bytes
CODE_OF_CONDUCT.md -rw-r--r-- 3.3 KB
CONTRIBUTORS -rw-r--r-- 45 bytes
LICENSE -rw-r--r-- 34.3 KB
MANIFEST.in -rw-r--r-- 157 bytes
Makefile -rw-r--r-- 163 bytes
Makefile.local -rw-r--r-- 24 bytes
README.md -rw-r--r-- 620 bytes
mypy.ini -rw-r--r-- 571 bytes
pyproject.toml -rw-r--r-- 237 bytes
pytest.ini -rw-r--r-- 135 bytes
requirements-cli.txt -rw-r--r-- 30 bytes
requirements-test.txt -rw-r--r-- 26 bytes
requirements.txt -rw-r--r-- 318 bytes
setup.cfg -rw-r--r-- 247 bytes
setup.py -rwxr-xr-x 2.5 KB
tox.ini -rw-r--r-- 488 bytes

README.md

back to top