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

Function run_quick

Scripts/Developer Base/Tree Explorer.py:1152–1171  ·  view source on GitHub ↗
(lang: str)

Source from the content-addressed store, hash-verified

1150 cur = p
1151 else:
1152 print(file_info_text(lang, p))
1153 continue
1154
1155
1156# ------------------ Menu actions ------------------
1157def run_quick(lang: str) -> None:
1158 target = prompt_path(lang, Path("."))
1159 if not target.exists():
1160 print(t("err_path_missing", lang, path=target))
1161 return
1162 text = build_tree_text(
1163 target,
1164 max_depth=2,
1165 dirs_only=False,
1166 show_size=True,
1167 sort_by_size=True,
1168 no_color=False,
1169 include_hidden=True,
1170 follow_symlinks=False,
1171 ignore=[],
1172 only=[],
1173 )
1174 print(text)

Callers 1

menu_loopFunction · 0.70

Calls 6

printFunction · 0.85
prompt_pathFunction · 0.70
tFunction · 0.70
build_tree_textFunction · 0.70
prompt_textFunction · 0.70
export_textFunction · 0.70

Tested by

no test coverage detected