lookup_branch


Description:

public Branch? lookup_branch (string branch_name, BranchType branch_type) throws Error

Lookups a branch by its name in a repository.

Parameters:

this

a Repository.

branch_name

the name of the branch.

branch_type

a BranchType.

Returns:

a branch by its name in a repository.