Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

all: add support for the File filters in Where clause #83

Merged
merged 1 commit into from
Oct 8, 2020

Conversation

quasilyte
Copy link
Owner

A first file filter is Imports(pkgpath) predicate.
It checks whether a file that is currently being checked
contains a certain import.

Example usage: suggest filepath.Separator over os.PathSeparator,
but only if "path/filepath" is imported inside this file.

DSL package is updated and re-generated.

Signed-off-by: Iskander Sharipov quasilyte@gmail.com

A first file filter is Imports(pkgpath) predicate.
It checks whether a file that is currently being checked
contains a certain import.

Example usage: suggest filepath.Separator over os.PathSeparator,
but only if "path/filepath" is imported inside this file.

DSL package is updated and re-generated.

Signed-off-by: Iskander Sharipov <quasilyte@gmail.com>
@quasilyte quasilyte merged commit 7a3df4b into master Oct 8, 2020
@quasilyte quasilyte deleted the quasilyte/feature/file_filters branch October 8, 2020 08:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant