Skip to main content

mod_root

Function mod_root 

Source
pub fn mod_root(file: &Path) -> Option<PathBuf>
Expand description

The mod a file belongs to: the folder with its yog.toml (else the folder holding the src/ it’s in).