pub fn endpoint_for_remote(
cwd: &Path,
remote: Option<&str>,
) -> Result<String, EndpointError>Expand description
Resolve the LFS endpoint URL for cwd + remote. Pass None for the
default (origin, with a “single remote” fallback when origin doesn’t
exist and exactly one other remote does).