get_git_commit

Function get_git_commit 

Source
pub fn get_git_commit() -> Result<String, String>
Expand description

Gets the latest git commit of the source code directory.

Example: "a5547bfb1edb9712588f0f85d3e2c8ba618ac51f"

ยงErrors

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