get_extension_path
Retrieves the full path to a specified subdirectory within the extension’s directory.
- Parameters
sub_directory (str) – The name of the subdirectory within the extension’s directory. If empty, returns the path to the extension’s root directory.
- Returns
The normalized full path to the specified subdirectory within the extension’s directory.
- Return type
str