HomeSoftware Heritage

objstorage: PathslicingObjStorage now allow arbitrary slicing

Description

objstorage: PathslicingObjStorage now allow arbitrary slicing

Example, for "abcdef1234567890" with slicing "0:2/0:5", path will be "root/ab/abcde/".

Also, update pathslicing objstorage tests to follow those changes

Details

Provenance
qcamposAuthored on Jun 14 2016, 5:01 PM
qcamposPushed on Jun 16 2016, 3:11 PM
Differential Revision
D49: Arbitrary slicing on PathSlicingObjStorage
Parents
rDSTO252e49b15814: objstorage: move the constant ID_HASH_ALGO to ObjStorage
Branches
Unknown
Tags
Unknown
Build Status
Buildable 210
Build 315: Software Heritage Python tests