file_path_matches_glob

Function file_path_matches_glob 

Source
pub fn file_path_matches_glob(
    path: &str,
    file_pattern: Option<&str>,
) -> ServiceResult<bool>
Expand description

Return whether one repository-relative path matches an optional file glob.

ยงErrors

Returns an error when file_pattern is not a valid repository glob.