Skip to main content

use_http_path

Function use_http_path 

Source
pub fn use_http_path(config: &ConfigSet, target_url: Option<&str>) -> bool
Expand description

Whether credential.useHttpPath (optionally URL-scoped) is enabled.

Exposed so embedders can decide whether to include the path field when constructing a Credential for an HTTP(S) target, matching Git.