pub fn root_of(file: &Path) -> Option<&Path>
The project file belongs to: the nearest folder above it that holds a main.nf.
file
main.nf