Skip to main content

looks_like_theme_path

Function looks_like_theme_path 

Source
pub fn looks_like_theme_path(spec: &str) -> bool
Expand description

Returns true if the theme spec looks like a file path rather than a theme name. Path-like specs: start with ~, have .json extension, or contain / or .