Improve use of pathclass glob functions.

This commit is contained in:
voussoir 2022-07-10 15:16:04 -07:00
parent 5b30d9bc4f
commit 863cb40709
No known key found for this signature in database
GPG key ID: 5F7554F8C26DACCB
2 changed files with 3 additions and 3 deletions

View file

@ -1,7 +1,7 @@
<snippet>
<content><![CDATA[
patterns = pipeable.input(args.pattern, skip_blank=True, strip=True)
files = pathclass.glob_many(patterns, files=True)
pattern = pipeable.input(args.pattern, skip_blank=True, strip=True)
files = pathclass.glob_files(pattern)
]]></content>
<tabTrigger>pipeable_glob_1</tabTrigger>
<scope>source.python</scope>

View file

@ -1,7 +1,7 @@
<snippet>
<content><![CDATA[
patterns = pipeable.input_many(args.patterns, skip_blank=True, strip=True)
files = pathclass.glob_many(patterns, files=True)
files = pathclass.glob_many_files(patterns)
]]></content>
<tabTrigger>pipeable_glob_many</tabTrigger>
<scope>source.python</scope>