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

[Feature] globstar option for file_glob() and file_glob_all() #650

Open
lens0021 opened this issue Dec 28, 2024 · 0 comments
Open

[Feature] globstar option for file_glob() and file_glob_all() #650

lens0021 opened this issue Dec 28, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@lens0021
Copy link
Contributor

lens0021 commented Dec 28, 2024

globstar
If set, the pattern ** used in a filename expansion context will match all files and zero or more directories and subdirectories. If the pattern is followed by a ‘/’, only directories and subdirectories match.
-- The Shopt Builtin https://www.gnu.org/software/bash/manual/html_node/The-Shopt-Builtin.html

There is one thing we should decide before implementing it; Either

  • globstar: Bool should be the second argument of file_glob() and file_glob_all() or
  • new functions file_globstar() and file_globstar_all() should be added?

And furthermore, globstar should be enabled by default in amber?

@lens0021 lens0021 added the enhancement New feature or request label Dec 28, 2024
@github-project-automation github-project-automation bot moved this to 🆕 New in Amber Project Dec 28, 2024
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

1 participant