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

Function termux_prefix

Scripts/Developer Base/Tree Explorer.py:948–953  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

946
947# ------------------ Termux install helpers ------------------
948def termux_prefix() -> Optional[Path]:
949 p = os.environ.get("PREFIX")
950 if p:
951 return Path(p)
952 guess = Path("/data/data/com.termux/files/usr")
953 return guess if guess.exists() else None
954
955
956# ------------------ Prompts (localized) ------------------

Callers 1

install_selfFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected