libdnf5.utils
- class libdnf5.utils.Locale(std_name)
Class for passing locale
- get_c_locale()
- get_cpp_locale()
- thisown
- libdnf5.utils.is_file_pattern(pattern)
Check if a given pattern is a file path.
- Parameters:
pattern (string) – Text pattern to be test
- Return type:
boolean
- Returns:
True if a given pattern is a file path
- libdnf5.utils.is_glob_pattern(pattern)
Check if a given pattern is a GLOB.
- Parameters:
pattern (string) – Text pattern to be test
- Return type:
boolean
- Returns:
True if a given pattern is a GLOB