Improve use of pathclass glob functions.
This commit is contained in:
parent
5b30d9bc4f
commit
863cb40709
2 changed files with 3 additions and 3 deletions
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue