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

Function get_program_by_id

Scripts/Developer Base/Mobile Desktop.py:1157–1161  ·  view source on GitHub ↗
(pid: str)

Source from the content-addressed store, hash-verified

1155# Program Manager
1156# ----------------------------
1157def get_program_by_id(pid: str) -> Optional[Dict]:
1158 for p in PROGRAMS:
1159 if p["id"] == pid:
1160 return p
1161 return None
1162
1163def get_program_command(p: Dict, family: str, action: str) -> Optional[str]:
1164 fam_map = p.get("cmd", {}).get(family, {})

Callers 3

install_programFunction · 0.70
remove_programFunction · 0.70
action_programs_removeFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected