ruff/crates/ruff_db
Andrew Gallant 92eee816ed [ty] Fix file root matching for /
Previously, we would always add `/{*filepath}` as our wildcard to match
descendant paths. But when the root is just `/` (as it can be in tests,
weird environments or in the ty playground), this causes a double `/`
and inhibits most descendant matches.

The regression test added in this commit fails without this fix.
Specifically, it panics because it can't find a file root for
`/project`.

Fixes #1277
2025-10-03 08:18:03 -04:00
..
src [ty] Fix file root matching for / 2025-10-03 08:18:03 -04:00
Cargo.toml Move GitLab output rendering to ruff_db (#20117) 2025-08-28 08:56:33 -04:00