MCPcopy Create free account
hub / github.com/FSoft-AI4Code/CodeWiki / should_exclude_file

Function should_exclude_file

codewiki/cli/utils/validation.py:187–190  ·  view source on GitHub ↗

Check if file is in an excluded directory.

(file_path: Path)

Source from the content-addressed store, hash-verified

185 }
186
187 def should_exclude_file(file_path: Path) -> bool:
188 """Check if file is in an excluded directory."""
189 parts = file_path.parts
190 return any(excluded_dir in parts for excluded_dir in excluded_dirs)
191
192 language_counts = {}
193

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected