[][src]Function dishub::ops::github::repo_exists

pub fn repo_exists(slug: &str, tokens: &AppTokens) -> Result<bool, Error>

Check whether a repository with the specified slug exists.

Examples

let response = repo_exists("nabijaczleweli/dishub", &tokens);
assert_eq!(response, Ok(true));