MCPcopy Create free account
hub / github.com/github/awesome-copilot / should_exclude

Function should_exclude

skills/acquire-codebase-knowledge/scripts/scan.py:202–204  ·  view source on GitHub ↗

Check if a path should be excluded from scanning.

(path: Path)

Source from the content-addressed store, hash-verified

200
201
202def should_exclude(path: Path) -> bool:
203 """Check if a path should be excluded from scanning."""
204 return any(part in EXCLUDE_DIRS for part in path.parts)
205
206
207def get_directory_tree(max_depth: int = TREE_MAX_DEPTH) -> List[str]:

Callers 2

walkFunction · 0.85
find_manifest_filesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected