reqlanOverviewIdeasFilesCode filesClustersAttributesGraphPrint

Printable idea sheet

check_glob_patterns

reqlan rq/core_analysis/check.rq:56

Katz 0.308

check accepts more than one `--glob` pattern.
Repeat `--glob` for each pattern.
A file is in the recursive scan when it matches any glob.
One `--glob` selects the same files as one path glob.
A reference target that matches no glob is still checked.
That target must resolve.
check_glob_patterns does not walk a directory that matches no glob.
A positional path can name a file outside the globs.
check checks that file.
A positional path that is a directory outside the globs is not walked.
An empty `--glob` value is an error.
API: `AnalysisApi.check({ pathGlobs, paths })`.
CLI: commands.
MCP: mcp_check.
Related: check

implementation
broken.rs, sync.rs, extract.rs, api.rs, lib.rs, native-analysis-api.ts, check.ts, server.ts
status
done
tests
broken_references.rs:check_two_globs_report_an_outside_target_and_skip_outside_directories, broken_references.rs:check_includes_an_explicit_file_outside_the_globs, broken_references.rs:check_rejects_an_empty_path_glob, broken_references.rs:analysis_api_check_honours_multiple_globs_and_extra_paths, check.test.ts:checks files from two globs and one file outside them, check.test.ts:does not recurse into a directory outside the globs, check.test.ts:rejects an empty glob, server.test.ts:check accepts one glob or a list of globs

Interactive page: check_glob_patterns