Constant elementalist::app_info::built_info::GIT_HEAD_REF
source · pub const GIT_HEAD_REF: Option<&str>;Expand description
If the crate was compiled from within a git-repository, GIT_HEAD_REF contains full name to the reference pointed to by HEAD (e.g.: refs/heads/master). If HEAD is detached or the branch name is not valid UTF-8 None will be stored.