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

Glob filter for reflect #29

Open
innermatrix opened this issue May 22, 2024 · 1 comment
Open

Glob filter for reflect #29

innermatrix opened this issue May 22, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@innermatrix
Copy link

innermatrix commented May 22, 2024

I'd like to reflect source to destination, just the way reflect does right now, but I'd like to limit the files reflected using a glob.

Like, for example reflect({src, dst, filter: ["**/*.png", "*.json"]})

@paulocoghi paulocoghi added the enhancement New feature or request label Jul 11, 2024
@paulocoghi
Copy link
Member

Thanks @innermatrix for the feature request! I agree it will be interesting to provide such functionality, so I will add it to my backlog.

My plan is to only use a glob interpreter when a filter is passed, as per your suggestion, to ensure no performance penalty when reflect is used without globs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants