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

Function normalize_patterns

Scripts/Developer Base/Tree Explorer.py:187–191  ·  view source on GitHub ↗
(raw: str)

Source from the content-addressed store, hash-verified

185
186
187def normalize_patterns(raw: str) -> List[str]:
188 if not raw.strip():
189 return []
190 parts = [p.strip() for p in raw.split(",")]
191 return [p for p in parts if p]
192
193
194def match_any(path: Path, name: str, patterns: List[str]) -> bool:

Callers 12

run_customFunction · 0.70
run_only_foldersFunction · 0.70
run_jsonFunction · 0.70
run_searchFunction · 0.70
run_topFunction · 0.70
run_empty_dirsFunction · 0.70
run_dupesFunction · 0.70
run_trash_patternFunction · 0.70
run_sizes_reportFunction · 0.70
run_recentFunction · 0.70
run_clean_dupesFunction · 0.70
run_remove_emptyFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected