Function list_packed
Source pub fn list_packed(objects_dir: &Path) -> Result<Vec<GitHash>>
Expand description
Enumerate every object SHA across all packfiles under objects_dir.
Walks the sorted name table of each .idx (version 2). A missing pack
directory yields an empty list; an unsupported (non-v2) index fails loud.
ยงErrors
Returns GitError on an I/O failure or a malformed/unsupported index.