Skip to main content

looks_like_url

Function looks_like_url 

Source
pub fn looks_like_url(s: &str) -> bool
Expand description

Quick syntactic check: does s look like one of the URL forms derive_lfs_url recognizes? Used to decide whether to treat a “remote name” argument as a literal URL.