duplicate_detector module

duplicate_detector.scan_duplicates(base_path, *, includes, min_lines=5, max_files=500)[מקור]

Find exact duplicate files by normalized content.

Returns mapping: content_hash -> list of relative file paths (len>=2).

Return type:

Dict[str, List[str]]

פרמטרים: