Skip to main content

classify_ref

Function classify_ref 

Source
pub fn classify_ref(reference: Option<&str>) -> WsRef
Expand description

Classify a CLI reference. A value containing / or starting with ./~ is a path; anything else is a bare token (ws_id or nickname). None means cwd.