Function build_data::get_git_commit_short[][src]

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

Gets the latest git commit of the source code directory. Returns the truncated hash.

Example: "a5547bf"

Errors

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