_is_loopback. Internal helper function. This docstring was added automatically to improve maintainability. Args: ip: Parameter. Returns: Varies.
(ip: str)
| 3585 | This docstring was added automatically to improve maintainability. |
| 3586 | |
| 3587 | Args: |
| 3588 | username: Parameter. |
| 3589 | |
| 3590 | Returns: |
| 3591 | Varies. |
| 3592 | """ |
| 3593 | p = os.path.join(STORAGE_DIR, username) |
| 3594 | os.makedirs(p, exist_ok=True) |
| 3595 | return p |
| 3596 | |
| 3597 | def safe_relpath(p: str) -> str: |
| 3598 | """safe_relpath. |
| 3599 | |
| 3600 | Internal helper function. |
| 3601 | |
| 3602 | This docstring was added automatically to improve maintainability. |
| 3603 | |
| 3604 | Args: |
no outgoing calls
no test coverage detected