We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
recursive globbing not work like pathlib. Is this intented?
if cwd is /home/yakkle/tmp has subdirectory foo/bar, and has file sample.zip in foo/bar :
/home/yakkle/tmp
foo/bar
sample.zip
>>> local.cwd // "**/*.zip" [] >>>
will show empty list.
if base path is /home/yakkle/tmp/foo:
/home/yakkle/tmp/foo
>>> local.cwd["foo"] // "**/*.zip" [<LocalPath /home/yakkle/tmp/foo/bar/sample.zip>] >>>
will show found result. but it only 1 depth search. not recursive.
python docs says :
The “**” pattern means “this directory and all subdirectories, recursively”. In other words, it enables recursive globbing:
**
https://docs.python.org/3.9/library/pathlib.html?highlight=mkdir#pathlib.Path.glob
The text was updated successfully, but these errors were encountered:
No branches or pull requests
recursive globbing not work like pathlib. Is this intented?
if cwd is
/home/yakkle/tmp
has subdirectoryfoo/bar
, and has filesample.zip
infoo/bar
:will show empty list.
if base path is
/home/yakkle/tmp/foo
:will show found result. but it only 1 depth search. not recursive.
python docs says :
https://docs.python.org/3.9/library/pathlib.html?highlight=mkdir#pathlib.Path.glob
The text was updated successfully, but these errors were encountered: