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

Globbing: support for recursive directory matching (**) #115

Open
dregre opened this issue Jul 4, 2019 · 0 comments
Open

Globbing: support for recursive directory matching (**) #115

dregre opened this issue Jul 4, 2019 · 0 comments

Comments

@dregre
Copy link

dregre commented Jul 4, 2019

Use of ** does not seem to work.

Example directory structure:

/a/b/c/foo.json
/a/b/c/bar.json
/a/b/xyz.json

My expectation is for the use of (fs/glob "**/*.json") to return a list containing three files, representing foo.json, bar.json, and xyz.json.

Instead, I get nil.

Doing (fs/glob (absolute "/a") "**/*.json") results in the same.

For expected behavior, see, e.g., glob behavior on Ruby.

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

No branches or pull requests

1 participant