(input: str, rootpath: Path)
| 377 | |
| 378 | |
| 379 | def resolve_from_str(input: str, rootpath: Path) -> Path: |
| 380 | input = expanduser(input) |
| 381 | input = expandvars(input) |
| 382 | if isabs(input): |
| 383 | return Path(input) |
| 384 | else: |
| 385 | return rootpath.joinpath(input) |
| 386 | |
| 387 | |
| 388 | def fnmatch_ex(pattern: str, path: Union[str, "os.PathLike[str]"]) -> bool: |
no outgoing calls
no test coverage detected