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

Function build_summary_text

Scripts/Developer Base/Tree Explorer.py:580–589  ·  view source on GitHub ↗
(lang: str, stats: WalkStats)

Source from the content-addressed store, hash-verified

578
579# ------------------ Summary ------------------
580def build_summary_text(lang: str, stats: WalkStats) -> str:
581 lines = [
582 t("summary_title", lang),
583 f"{t('summary_files', lang)}: {stats.files}",
584 f"{t('summary_dirs', lang)}: {stats.dirs}",
585 f"{t('summary_total', lang)}: {format_size(stats.total_size)}",
586 f"{t('summary_skipped', lang)}: {stats.skipped}",
587 f"{t('summary_errors', lang)}: {stats.errors}",
588 ]
589 return "\n".join(lines)
590
591
592# ------------------ Search + path iteration ------------------

Callers 2

run_customFunction · 0.70
mainFunction · 0.70

Calls 2

tFunction · 0.70
format_sizeFunction · 0.70

Tested by

no test coverage detected