Skip to main content

remote_allows_insecure

Function remote_allows_insecure 

Source
pub fn remote_allows_insecure(
    repo: &Repository,
    remote_arg: Option<&str>,
) -> bool
Expand description

Whether a named remote (or the default) has insecure = true in .heddle/remotes.toml. Returns false for URL specs / missing remotes.