doFolder.globalType module¶
Global Type Definitions and Aliases
This module provides type aliases and ensures compatibility with Python’s static type system across different Python versions. It is commonly imported as _tt in other modules for type hinting purposes.
- Key type aliases:
Pathable: str or Path objects for filesystem paths
RelativePathable: Relative paths (str, Path, or path components)
CompareModeItem: Comparison mode specifications
Uses typing_extensions for backward compatibility with older Python versions.
- doFolder.globalType.CompareModeItem¶
Type for comparison mode specifications
alias of
CompareModeFlag
|CompareMode
- doFolder.globalType.Pathable¶
Type for filesystem paths (str or Path object)
alias of
str
|Path
- doFolder.globalType.RelativePathable¶
Type for relative paths (str, Path, or path components)
alias of
str
|Path
|Iterable
[str
]