Extract the path from a path spec (which may have an extra "+" at the front)
(path: str)
| 24 | |
| 25 | @lru_cache |
| 26 | def _path(path: str) -> str: |
| 27 | """Extract the path from a path spec (which may have an extra "+" at the front)""" |
| 28 | if path.startswith("+"): |
| 29 | path = path[1:] |
| 30 | return os.path.expanduser(path) |
| 31 | |
| 32 | |
| 33 | @lru_cache |
no outgoing calls
no test coverage detected
searching dependent graphs…