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_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.