Skip to main content

application_of_path

Function application_of_path 

Source
pub fn application_of_path<'a>(
    apps: &'a [AppSrcSpec],
    repo_root: &Path,
    path: &Path,
) -> Option<&'a ApplicationName>
Expand description

Resolves a file path under repo_root to the application it belongs to: the app whose .app.src lives in the deepest shared prefix of path.