Type Definition git_ref::file::transaction::FindObjectFn
source · pub type FindObjectFn<'a> = dyn FnMut(ObjectId, &mut Vec<u8>) -> Result<Option<Kind>, Box<dyn Error + Send + Sync + 'static>> + 'a;
Expand description
A function receiving an object id to resolve, returning its decompressed bytes, used to obtain the peeled object ids for storage in packed-refs files.
Resolution means to follow tag objects until the end of the chain.