(input: str, rootpath: Path)
| 421 | |
| 422 | |
| 423 | def resolve_from_str(input: str, rootpath: Path) -> Path: |
| 424 | input = expanduser(input) |
| 425 | input = expandvars(input) |
| 426 | if isabs(input): |
| 427 | return Path(input) |
| 428 | else: |
| 429 | return rootpath.joinpath(input) |
| 430 | |
| 431 | |
| 432 | def fnmatch_ex(pattern: str, path: str | os.PathLike[str]) -> bool: |
no outgoing calls
no test coverage detected