pub fn mod_root(file: &Path) -> Option<PathBuf>
The mod a file belongs to: the folder with its yog.toml (else the folder holding the src/ it’s in).
yog.toml
src/