Skip to main content

in_scope

Function in_scope 

fn in_scope(path: &str, scope: &str) -> bool
Expand description

Whether a source file lies inside a module scope.

A module is either a directory (…/sampler/mod.rs) or a file (…/sampler.rs), and both spellings are in this workspace.