Skip to main content

read_refs

Function read_refs 

Source
pub fn read_refs(archive: &Path) -> Result<Option<BTreeMap<String, RefState>>>
Expand description

Read the sealed __gunnar_refs__ section out of an archive. Ok(None) when the archive carries none — distinct from an archive whose refs are empty.