Function build_data::get_git_branch[][src]

pub fn get_git_branch() -> Result<String, String>

Gets the current branch of the source code directory.

Example: "release"

Errors

Returns an error if it fails to execute the git command.