Skip to main content

scope_header

Function scope_header 

Source
pub fn scope_header(ws: &Path, origin: &ScopeOrigin) -> Option<String>
Expand description

Returns a scope annotation when the workspace selection might surprise the user.

Prints when an explicit flag was used, or when cwd maps to an unregistered path.