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>
|
<snippet>
|
||||||
<content><![CDATA[
|
<content><![CDATA[
|
||||||
patterns = pipeable.input(args.pattern, skip_blank=True, strip=True)
|
pattern = pipeable.input(args.pattern, skip_blank=True, strip=True)
|
||||||
files = pathclass.glob_many(patterns, files=True)
|
files = pathclass.glob_files(pattern)
|
||||||
]]></content>
|
]]></content>
|
||||||
<tabTrigger>pipeable_glob_1</tabTrigger>
|
<tabTrigger>pipeable_glob_1</tabTrigger>
|
||||||
<scope>source.python</scope>
|
<scope>source.python</scope>
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
<snippet>
|
<snippet>
|
||||||
<content><![CDATA[
|
<content><![CDATA[
|
||||||
patterns = pipeable.input_many(args.patterns, skip_blank=True, strip=True)
|
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>
|
]]></content>
|
||||||
<tabTrigger>pipeable_glob_many</tabTrigger>
|
<tabTrigger>pipeable_glob_many</tabTrigger>
|
||||||
<scope>source.python</scope>
|
<scope>source.python</scope>
|
||||||
|
|
Loading…
Reference in a new issue