libappstream::functions

Function utils_guess_scope_from_path

source
pub fn utils_guess_scope_from_path(path: &str) -> ComponentScope
Expand description

Guess the ComponentScope that applies to a given path.

§path

The filename to test.

§Returns

the ComponentScope