https://github.com/SoftwareHeritage/swh-model
Revision ded150d6c32e482086b8d35c509cc6a2f3166b63 authored by Nicolas Dandrimont on 02 March 2020, 09:35:05 UTC, committed by Nicolas Dandrimont on 02 March 2020, 15:22:43 UTC
This lets us generate Content objects directly from a bytestring, with the
proper set of hashes auto-generated from the contents.
1 parent cb075eb
History
Tip revision: ded150d6c32e482086b8d35c509cc6a2f3166b63 authored by Nicolas Dandrimont on 02 March 2020, 09:35:05 UTC
Add a method to generate Content/SkippedContent from binary data
Tip revision: ded150d
File Mode Size
bin
docs
swh
.gitignore -rw-r--r-- 137 bytes
.pre-commit-config.yaml -rw-r--r-- 1.1 KB
AUTHORS -rw-r--r-- 112 bytes
CODE_OF_CONDUCT.md -rw-r--r-- 3.3 KB
CONTRIBUTORS -rw-r--r-- 31 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-- 598 bytes
mypy.ini -rw-r--r-- 447 bytes
pytest.ini -rw-r--r-- 58 bytes
requirements-cli.txt -rw-r--r-- 23 bytes
requirements-test.txt -rw-r--r-- 26 bytes
requirements.txt -rw-r--r-- 278 bytes
setup.py -rwxr-xr-x 2.4 KB
tox.ini -rw-r--r-- 375 bytes

README.md

back to top