Function build_data::get_git_branch
source · pub fn get_git_branch() -> Result<String, String>
Expand description
Gets the current branch of the source code directory.
Example: "release"
§Errors
Returns an error if it fails to execute the git
command.