MCPcopy Create free account
hub / github.com/douglance/devsql / branches

Method branches

crates/vcsql/src/git/repository.rs:95–97  ·  view source on GitHub ↗
(&self, branch_type: Option<BranchType>)

Source from the content-addressed store, hash-verified

93 }
94
95 pub fn branches(&self, branch_type: Option<BranchType>) -> Result<git2::Branches<'_>> {
96 Ok(self.repo.branches(branch_type)?)
97 }
98
99 pub fn is_head_detached(&self) -> bool {
100 self.repo.head_detached().unwrap_or(false)

Callers 2

populateMethod · 0.80
load_branchesMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected