Expand description
Discovery helpers and types exposed through the engine boundary.
Structs§
- Analysis
Discovery - Reusable engine discovery prelude for one resolved project.
- Discovered
File - A discovered source file on disk.
- Entry
Point - An entry point into the module graph.
- FileId
- Compact file identifier.
- Hidden
DirScope - Package-scoped hidden directories that source discovery should traverse.
Enums§
- Entry
Point Source - Where an entry point was discovered from.
Constants§
- ALLOWED_
HIDDEN_ DIRS - Discovery vocabulary shared with the analysis backend: file extensions, production-exclusion globs, and the hidden directories traversal allows. Hidden (dot-prefixed) directories that should be included in file discovery.
- PRODUCTION_
EXCLUDE_ PATTERNS - Discovery vocabulary shared with the analysis backend: file extensions, production-exclusion globs, and the hidden directories traversal allows. Glob patterns for test/dev/story files excluded in production mode.
- SOURCE_
EXTENSIONS - Discovery vocabulary shared with the analysis backend: file extensions, production-exclusion globs, and the hidden directories traversal allows. File extensions discovery treats as analyzable source files.
Functions§
- collect_
plugin_ hidden_ dir_ scopes - Collect plugin-derived hidden directory scopes.
- discover_
files_ and_ config_ candidates - Discover source files and non-source config candidates in one traversal.
- discover_
workspace_ packages - Discover workspace packages through the engine boundary.
- discover_
workspace_ packages_ with_ diagnostics - Discover workspace packages and diagnostics through the engine boundary.
- is_
allowed_ hidden_ dir - Check if a hidden directory name is on the discovery allowlist.