Pack files.
A pack value is an ordered list of position-independant packed values and the SHA of the corresponding inflated objects.
The usual Object.S.input
function, but with an additional
index
argument. When index
is None
, recompute the whole
index: that's very costly so provide the index when possible.