HomeSoftware Heritage

common/service: Add lookup_object function

Description

common/service: Add lookup_object function

Add an utility function for looking up an object in the archive by its type
and id. Supported object types are: content, directory, release, revision
and snapshot.

Related to T2090

Details

Provenance
anlambertAuthored on Nov 18 2019, 4:28 PM
anlambertPushed on Nov 20 2019, 5:13 PM
Differential Revision
D2309: common/service: Add lookup_object function
Parents
rDWAPPS8918ef22259b: package.json: Upgrade dependencies
Branches
Unknown
Tags
Unknown
Build Status
Buildable 9161
Build 13406: Cypress tests for swh-web commitsJenkins
Build 13405: test-and-buildJenkins