File tree Expand file tree Collapse file tree 2 files changed +9
-5
lines changed
Expand file tree Collapse file tree 2 files changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -147,7 +147,7 @@ def dirhash(
147147 description of how the returned hash value is computed.
148148 """
149149 filter_ = Filter (
150- match = get_match_patterns (match = match , ignore = ignore ),
150+ match_patterns = get_match_patterns (match = match , ignore = ignore ),
151151 linked_dirs = linked_dirs ,
152152 linked_files = linked_files ,
153153 empty_dirs = empty_dirs
@@ -320,7 +320,7 @@ def included_paths(
320320 the hash of the `directory` using `dirhash.dirhash` and the same arguments.
321321 """
322322 filter_ = Filter (
323- match = get_match_patterns (match = match , ignore = ignore ),
323+ match_patterns = get_match_patterns (match = match , ignore = ignore ),
324324 linked_dirs = linked_dirs ,
325325 linked_files = linked_files ,
326326 empty_dirs = empty_dirs
@@ -365,15 +365,15 @@ class Filter(RecursionFilter):
365365 """
366366 def __init__ (
367367 self ,
368- match = None ,
368+ match_patterns = None ,
369369 linked_dirs = True ,
370370 linked_files = True ,
371371 empty_dirs = False
372372 ):
373373 super (Filter , self ).__init__ (
374374 linked_dirs = linked_dirs ,
375375 linked_files = linked_files ,
376- match = match
376+ match = match_patterns
377377 )
378378 self .empty_dirs = empty_dirs
379379
Original file line number Diff line number Diff line change 1515 dirhash ,
1616 algorithms_available ,
1717 algorithms_guaranteed ,
18- Protocol , _parmap , Filter , dirhash_impl )
18+ Protocol ,
19+ _parmap ,
20+ Filter ,
21+ dirhash_impl
22+ )
1923from scantree import SymlinkRecursionError
2024
2125
You can’t perform that action at this time.
0 commit comments