HomeSoftware Heritage

Add a get_hash helper method to Content.

Description

Add a get_hash helper method to Content.

Code manipulating a Content object may want to access a hash
of configurable name; this method allows it to do that
without using getattr directly.

Details

Provenance
vlorentzAuthored on Aug 19 2019, 2:35 PM
vlorentzPushed on Aug 20 2019, 11:42 AM
Differential Revision
D1863: Add a get_hash helper method to Content.
Parents
rDMOD19634f258915: Allow -1 as Content length.
Branches
Unknown
Tags
Unknown
References
tag: v0.0.41
Build Status
Buildable 7327
Build 10398: test-and-buildJenkins