Skip to main content

package_of

Function package_of 

Source
pub fn package_of(path: &Path) -> Option<(PathBuf, RootKind)>
Expand description

The package path is a module of, and where in it, when path is directly in the src/ or tests/ of a directory holding a nova.toml (spec §4.1). The language server finds its projects the same way.