Expand the user home directory and any environment variables contained within the provided path.
(path: str)
| 100 | |
| 101 | |
| 102 | def expand_path(path: str) -> str: |
| 103 | """Expand the user home directory and any environment variables contained within |
| 104 | the provided path. |
| 105 | """ |
| 106 | |
| 107 | return os.path.expandvars(os.path.expanduser(path)) |
| 108 | |
| 109 | |
| 110 | def str_or_array_as_list(v: str | Sequence[str]) -> list[str]: |
no outgoing calls
no test coverage detected
searching dependent graphs…