-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Go SDK: Update memfs to parse the List() pattern as a glob, not a reg…
…exp (#21943) * Go SDK: Update memfs to parse the List() pattern as a glob, not a regexp. This makes the memfs implementation consistent with the filesystem implementation of List(). The docstring for filesystem.Interface.List does not specify how the pattern should be interpretted. It says: "List expands a pattern to a list of filenames." Perhaps that docstring should be updated to be more specific. * Use "filepath" instead of "path" in memfs; add test cases. Also, accept input without a "memfs://" prefix.
- Loading branch information
Showing
2 changed files
with
91 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters