# AUTOGENERATED! DO NOT EDIT! File to edit: ../nbs/04_path.ipynb.

# %% auto 0
__all__ = ['PathType', 'PathLike', 'DirPath', 'DirNames', 'FileNames', 'WalkTuple', 'WalkParts']

# %% ../nbs/04_path.ipynb 6
import os, pathlib

# %% ../nbs/04_path.ipynb 8
from typing import (
    TypeAlias, Literal, Union, List, Set,
    Iterable, Tuple, ForwardRef
)

# %% ../nbs/04_path.ipynb 10
#| export


# %% ../nbs/04_path.ipynb 12
#| export


# %% ../nbs/04_path.ipynb 14
#| export


# %% ../nbs/04_path.ipynb 16
PathType: TypeAlias = Union[pathlib.Path, pathlib.PosixPath]
PathLike: TypeAlias = Union[str, os.PathLike, pathlib.Path, PathType]

# %% ../nbs/04_path.ipynb 18
DirPath:   TypeAlias = PathLike
DirNames:  TypeAlias = List[PathLike]
FileNames: TypeAlias = List[PathLike]
WalkTuple: TypeAlias = Tuple[DirPath, DirNames, FileNames]
WalkParts: TypeAlias = Iterable[WalkTuple]
