HomeSoftware Heritage

Add some methods to the object storage in order to allow a content integrity…

This commit no longer exists in the repository. It may have been part of a branch which was deleted.

Description

Add some methods to the object storage in order to allow a content integrity checker to run

  • restore_bytes method is needed to repair a content as the add_bytes methods does nothing to the content if the id is already in the file system
  • get_random_contents is used for the content integrity checker in order to have a stateless probabilistic method for the cerification scheduling

Details

Provenance
qcamposAuthored on May 26 2016, 12:11 PM
qcamposPushed on May 27 2016, 3:57 PM
Differential Revision
D31: Create a content integrity checker
Build Status
Buildable 131
Build 190: Software Heritage Python tests

Commit No Longer Exists

This commit no longer exists in the repository.