Exclude files from Storage::files() #48550
-
Hi, I recently discovered that the Storage::files() method doesn't provide an option to exclude specific files from its results. For instance, if there's a .gitignore file in the directory, it appears there's currently no direct way to filter it out. What if we introduced an except method to enhance the files() method? The usage could be as straightforward as:
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
There is a lot that's missing in Storage, like glob. Which is in the File Facade. For local operations you can use that facade, but for external operations this is a problem... |
Beta Was this translation helpful? Give feedback.
-
I suppose, that's not implemented in League's Flysystem. Maybe you can file a feature request over there. |
Beta Was this translation helpful? Give feedback.
I suppose, that's not implemented in League's Flysystem. Maybe you can file a feature request over there.