HomeSoftware Heritage

Make the content integrity checker more extendable

Description

Make the content integrity checker more extendable

The integrity checker now depends on an abstract class that contains the
base code that is necessary to perform the check on a storage.

This abstract class can be inherited by concret classes that will define
the checker behavior when a corrupted or missing content is find
(Note that for now, the checker runs on a local storage so the list of
content to check is made from walking the filesystem. So a missing
content shouldn't happend. But another version could get this list from
another source that is not the filesystem).

Details

Provenance
qcamposAuthored on Aug 3 2016, 4:32 PM
qcamposPushed on Aug 12 2016, 12:32 PM
Differential Revision
D92: Make the content checker easy to extend and add an implementation
Parents
rDOBJScc35ceaf3a3d: Remove a TODO forgotten in D91
Branches
Unknown
Tags
Unknown