MCPcopy Create free account
hub / github.com/dedsec1121fk/DedSec / _is_loopback

Function _is_loopback

Scripts/ButSystem.py:3587–3601  ·  view source on GitHub ↗

_is_loopback. Internal helper function. This docstring was added automatically to improve maintainability. Args: ip: Parameter. Returns: Varies.

(ip: str)

Source from the content-addressed store, hash-verified

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

Callers 2

_client_ipFunction · 0.70
_is_local_admin_requestFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected