Skip to main content

reject_url

Function reject_url 

Source
pub fn reject_url(raw: &Utf8Path) -> Result<(), RkError>
Expand description

Refuse a --source that is a URL before the disk is read: the clone is the operator’s step, and a fetch is never implied by a read verb.

§Errors

Returns RkError::Usage for a value carrying a scheme or the git@ form.