diff --git a/osbuild/util/types.py b/osbuild/util/types.py new file mode 100644 index 00000000..74629012 --- /dev/null +++ b/osbuild/util/types.py @@ -0,0 +1,11 @@ +# +# Define some useful typing abbreviations +# + +import os + +from typing import Union + + +#: Represents a file system path. See also `os.fspath`. +PathLike = Union[str, bytes, os.PathLike]