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

Don't fail in patterns of the …*/… form #10

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Fuuzetsu
Copy link

@Fuuzetsu Fuuzetsu commented Jul 4, 2015

Internal matchDir would always fail if we were trying to match against a
separator after as it gave up before the separator even had the chance
to be consumed.

Closes #9

Internal matchDir would always fail if we were trying to match against a
separator after as it gave up before the separator even had the chance
to be consumed.

Closes bos#9
Fuuzetsu added a commit to Fuuzetsu/hpack that referenced this pull request Jul 4, 2015
This nearly works, we're just missing */ patterns due to bos/filemanip#10
Fuuzetsu added a commit to Fuuzetsu/hpack that referenced this pull request Jul 5, 2015
As filemanip suffers from bos/filemanip#10

Glob conveniently provides ‘globDir’ which expands all the patterns for
us but it does not provide the list of patterns which did not match
anything. To do that, we ‘globDir’ with just one pattern and then
‘match’ on all files it has encountered: this approach means we still
only traverse the tree once.
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

Successfully merging this pull request may close these issues.

1 participant