PolyMeilex / rfd

Rusty File Dialog
MIT License
524 stars 60 forks source link

[feature] filter for filename #158

Open shevernitskiy opened 8 months ago

shevernitskiy commented 8 months ago

There is a add_filter method for specify target file extnsions. Is this possible to add filter for filename?

Let me descirbe my case to clarify the reason. I have the file dialog whitch should pick windows or linux executable file. The names are known - app.exe for win and app ro linux (without extension). So I want to narrow files to pick by array &["app.exe", "app"] like I can do for extensions. Is this possible to implement?