Skip to main content

Module discover

Module discover 

Source
Expand description

Discovery helpers and types exposed through the engine boundary.

Structs§

AnalysisDiscovery
Reusable engine discovery prelude for one resolved project.
CategorizedEntryPoints
Entry points grouped by reachability role.
DiscoveredFile
A discovered source file on disk.
EntryPoint
An entry point into the module graph.
FileId
Compact file identifier.
HiddenDirScope
Package-scoped hidden directories that source discovery should traverse.

Enums§

EntryPointSource
Where an entry point was discovered from.

Constants§

PRODUCTION_EXCLUDE_PATTERNS
Glob patterns for test/dev/story files excluded in production mode.
SOURCE_EXTENSIONS

Functions§

collect_hidden_dir_scopes
Collect plugin and script-derived hidden directory scopes.
collect_plugin_hidden_dir_scopes
Collect plugin-derived hidden directory scopes.
discover_entry_points
Discover configured and inferred entry points.
discover_files_and_config_candidates
Discover source files and non-source config candidates in one traversal.
discover_plugin_entry_points
Discover entry points from plugin results.
discover_workspace_entry_points
Discover entry points for a workspace package.
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.
prepare_analysis_discovery
Run engine-owned workspace and source discovery for a resolved project.
prepare_analysis_discovery_with_workspaces
Run source discovery with workspace metadata already resolved by config load.