Skip to main content

head_commit_message

Function head_commit_message 

Source
pub async fn head_commit_message(
    repo_path: PathBuf,
) -> Result<Option<String>, GitError>
Expand description

Re-exported commit/sync/diff APIs. Returns the full HEAD commit message, or None when no commits exist.

ยงErrors

Returns a GitError if HEAD cannot be inspected.