get_file_icon_name#
- ignis.utils.Utils.get_file_icon_name(path: str, symbolic: bool = False) str | None #
Get a standart icon name for the file or directory.
- Parameters:
path (
str
) -- The path to the file or directory.symbolic (
bool
, optional) -- Whether the icon should be symbolic.
- Returns:
The name of the icon.
None
if the icon with the given name is not found.- Return type:
str | None