pub fn at_opts(
objects_dir: impl Into<PathBuf>,
replacements: impl IntoIterator<Item = (ObjectId, ObjectId)>,
options: Options,
) -> Result<Handle>
Expand description
Create a new cached handle to the object store with support for additional options.
replacements
is an iterator over pairs of old and new object ids for replacement support.
This means that when asking for object X
, one will receive object X-replaced
given an iterator like Some((X, X-replaced))
.