Function search_slash_commits

Source
pub async fn search_slash_commits(
    configuration: &Configuration,
    q: &str,
    sort: Option<&str>,
    order: Option<&str>,
    per_page: Option<i32>,
    page: Option<i32>,
) -> Result<SearchCommits200Response, Error<SearchSlashCommitsError>>
Expand description

Find commits via various criteria on the default branch (usually main). This method returns up to 100 results per page. When searching for commits, you can get text match metadata for the message field when you provide the text-match media type. For more details about how to receive highlighted search results, see Text match metadata. For example, if you want to find commits related to CSS in the octocat/Spoon-Knife repository. Your query would look something like this: q=repo:octocat/Spoon-Knife+css