Page MenuHomeSoftware Heritage

Remove direct exposition of PathSlicingObjStorage
ClosedPublic

Authored by qcampos on Aug 4 2016, 4:31 PM.

Details

Summary

The PathSlicingObjStorage was exposed in the swh.objstorage top-level,
and is no longer a default implementation.
Classes using an ObjStorage should now use the get_objstorage method.

Diff Detail

Repository
rDOBJS Object storage
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

qcampos retitled this revision from to Remove direct exposition of PathSlicingObjStorage.
qcampos updated this object.
qcampos edited the test plan for this revision. (Show Details)
olasd added a reviewer: olasd.
This revision is now accepted and ready to land.Aug 4 2016, 4:37 PM

Note that __all__ only affects the objects that are available when doing from swh.objstorage import *, and that a caller can still explicitly get all the names that are defined in the module.

This revision was automatically updated to reflect the committed changes.