normalize_path_patterns
Normalize an iterable of glob style patterns based on OS.
def normalize_path_patterns(
patterns: iterable
) - > list
Normalize an iterable of glob style patterns based on OS.
Parameters
| Name | Type | Description |
|---|---|---|
| patterns | iterable | A collection of glob-style strings representing file or directory paths to be standardized. |
Returns
| Type | Description |
|---|---|
list | A list of normalized path patterns with OS-specific casing and trailing directory wildcards removed. |