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

path: Match support for ** #32938

Closed
alessandrozucca opened this issue Jul 4, 2019 · 4 comments
Closed

path: Match support for ** #32938

alessandrozucca opened this issue Jul 4, 2019 · 4 comments

Comments

@alessandrozucca
Copy link

Currently path.Match only supports * would be nice if it supported ** as well.

This is similar to #11862 but this is only about only the path package

@ianlancetaylor
Copy link
Contributor

I think that if we change either path.Math or filepath.Match, we should change both. For them to be different would just be unnecessarily confusing. So closing this as a dup of #11862.

@gopherbot
Copy link

Change https://golang.org/cl/185097 mentions this issue: path: Updated Match function to support double star

@alessandrozucca
Copy link
Author

Yes, that's true but at the same time, they are two different packages - should it not be possible to update them separately?

@ianlancetaylor
Copy link
Contributor

We can update them separately in the sense of doing it as two different patches. But the decision as to whether to update them or not should be made for both packages. And if we do decide to update them then both packages should be updated in the same release.

@golang golang locked and limited conversation to collaborators Jul 4, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants