pub fn load_blob_batch(
context: &GitContext,
cwd: &Path,
oids: &[String],
object_directory: Option<&Path>,
) -> Result<HashMap<String, Vec<u8>>, String>Expand description
What:
Load every distinct requested blob through one batch,
optionally reading a private
object store (whose alternates still reach the real one).
Why:
loadBlobBatch;
request order is first-seen order.
In TS you’d write (pseudocode):
async function loadBlobBatch({ gitPath, cwd, oids, objectDirectory }): Promise<ReadonlyMap<string, Uint8Array>>;