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

Function install_app

Scripts/DedSec Market.py:605–623  ·  view source on GitHub ↗
(app, state)

Source from the content-addressed store, hash-verified

603
604 heading_match = None if in_code_fence else re.match(r"^(#{1,6})\s+(.*)$", stripped)
605 if heading_match:
606 level = len(heading_match.group(1))
607 marker = detect_language_label(heading_match.group(2))
608
609 if skip_level is not None:
610 if level > skip_level:
611 continue
612 skip_level = None
613
614 if marker == opposite:
615 skip_level = level
616 continue
617 if marker == target:
618 continue
619
620 if skip_level is None:
621 output.append(line)
622
623 return "\n".join(output).strip()
624
625
626def dominant_text_language(text):

Callers 1

app_detail_screenFunction · 0.70

Calls 6

MarketErrorClass · 0.70
trFunction · 0.70
suggested_install_pathFunction · 0.70
unique_install_pathFunction · 0.70
clone_repo_to_tempFunction · 0.70
save_stateFunction · 0.70

Tested by

no test coverage detected