Skip to main content

resolve_content_root

Function resolve_content_root 

Source
pub fn resolve_content_root(path: Option<&str>, root: Option<&str>) -> PathBuf
Expand description

Resolve the content root directory.

Priority: explicit --root flag > parent of given path > current directory.