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

Function get_program_command

Scripts/Developer Base/Mobile Desktop.py:1163–1165  ·  view source on GitHub ↗
(p: Dict, family: str, action: str)

Source from the content-addressed store, hash-verified

1161 return None
1162
1163def get_program_command(p: Dict, family: str, action: str) -> Optional[str]:
1164 fam_map = p.get("cmd", {}).get(family, {})
1165 return fam_map.get(action)
1166
1167def mark_program_installed(cfg: Dict, distro: str, pid: str, installed: bool) -> None:
1168 ensure_system_entry(cfg, distro)

Callers 2

install_programFunction · 0.70
remove_programFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected