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

Core: Implement glob api #62

Merged
merged 3 commits into from
Sep 9, 2024
Merged

Core: Implement glob api #62

merged 3 commits into from
Sep 9, 2024

Conversation

yanghua
Copy link
Collaborator

@yanghua yanghua commented Sep 8, 2024

Summary 📝

Write an overview about it.

Details

Describe more what you did on changes.

  1. (...)
  2. (...)

Bugfixes 🐛 (delete if dind't have any)

Checks

  • Closed #798
  • Tested Changes
  • Stakeholder Approval

@yanghua yanghua self-assigned this Sep 8, 2024
@yanghua yanghua requested a review from xianyinxin September 8, 2024 13:12
# Hyphens that create ranges shouldn't be escaped.
stuff = "-".join(
s.replace("\\", r"\\").replace("-", r"\-") for s in chunks
)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

could you please add some explanation about these code?

# See the License for the specific language governing permissions and
# limitations under the License.

"""The module contains utility functions copied from fsspec package."""
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@xianyinxin I added a little description here, these code snippets are copied from fsspec's repo and utils.py. These codes do not exist in old fsspec versions(e.g. 2023.5.0).

@xianyinxin xianyinxin merged commit 330abd7 into main Sep 9, 2024
12 checks passed
@yanghua yanghua mentioned this pull request Sep 9, 2024
@yanghua yanghua deleted the 61-glob branch September 9, 2024 12:30
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.

2 participants