pub fn github_diff_headers(token: &str) -> Result<HeaderMap, RsGuardError>Expand description
Builds headers specifically for fetching PR diffs.
Same as github_headers but uses the application/vnd.github.v3.diff
accept header instead of application/vnd.github+json.
ยงErrors
Returns RsGuardError::Config if the token contains invalid
header characters.