Skip to main content

get_branch

Function get_branch 

Source
pub fn get_branch(db: &Db, name: &str) -> Option<BranchRecord>
Expand description

The current branch answering to this name.

The newest generation, which — because creation refuses a live duplicate — is the active one whenever any generation of the name is active.