pub fn mod_root(file: &Path) -> Option<PathBuf>
The mod file belongs to: the nearest folder (itself included) with a yog.toml.
file
yog.toml