doc_generator/detect_exclusions library

Functions

detectExclusionsFromAnalyzer(String root) Set<String>
Detects files to be excluded from API documentation generation based on analysis_options.yaml This function reads the analysis_options.yaml file at the specified root directory and extracts file exclusion patterns from the 'analyzer.exclude' section. It returns a Set of normalized file paths that match the exclusion patterns.
detectExclusionsFromConfig(String root) Set<String>
Detects files to be excluded from API documentation generation based on analysis_options.yaml This function reads the analysis_options.yaml file at the specified root directory and extracts file exclusion patterns from the 'api_guard.exclude' section. It returns a Set of normalized file paths that match the exclusion patterns.