Skip to content

Fix `type:path` not working on zoekt codepath

Administrator requested to merge fa/fix-type-path into master

Created by: attfarhan

Fixes https://github.com/sourcegraph/sourcegraph/issues/6220.

Zoekt codepath previously always passed false to the fileMatchOnly param in parseRe. Now it looks at patternMatchesPath and patternMatchesContent args to pass the correct value.

Test plan: added unit test

Merge request reports

Loading