HomeSoftware Heritage

ContentIndexer: convert hash to bytes.

Description

ContentIndexer: convert hash to bytes.

When received via the scheduler (which manipulates JSON), it's a string.

The RevisionIndexer uses the exact same conversion code.

Details

Provenance
vlorentzAuthored on Dec 20 2018, 6:35 PM
vlorentzPushed on Dec 21 2018, 3:48 PM
Differential Revision
D874: ContentIndexer: convert hash to bytes.
Parents
rDCIDX26d78ed283bf: Add type check to content_language_add.
Branches
Unknown
Tags
Unknown
Build Status
Buildable 3242
Build 4165: test-and-build