Function namespaced_file

Source
pub fn namespaced_file(arg: &str) -> Result<NamespacedFile, String>
Expand description

Parses a::b,a::b::c,test.spade as root_namespace: a::b, namespace: a::b::c, file: test.spade if no , is present, attempts to parse a path and set root and namespace to vec![]