Skip to main content

get_commits_for_path

Function get_commits_for_path 

Source
pub fn get_commits_for_path(path: &str) -> Result<Vec<CommitInfo>>
Expand description

Get commits that modified a specific path.

§Arguments

  • path - File or directory path to filter by

§Errors

Returns error if git command fails.