Skip to main content

git_https_check

Function git_https_check 

Source
pub fn git_https_check(
    list: &[Integration],
    index: usize,
) -> Result<String, GitHttpsRefusal>
Expand description

Whether profile index may have git_https turned on: the host it would serve (a code host on an https:// address) when it may, else why not. Two profiles on one host are never both on: the second is refused here. (A hand-edited file that has both on is read as “the first in file order”, see git_https_profiles.)