Skip to main content

read_ref

Function read_ref 

Source
pub fn read_ref(mkit_dir: &Path, branch: &str) -> RefResult<Option<Hash>>
Expand description

Read the hash a branch ref points to. Returns Ok(None) if the ref file does not exist.

ยงErrors