Skip to content

Commit

Permalink
[#330] Added the sort_by kwarg to the pathfunc.match function
Browse files Browse the repository at this point in the history
  • Loading branch information
YHordijk committed Dec 5, 2024
1 parent 5d18fbe commit 4c7c213
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tcutility/pathfunc.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ def get_subdirectories(root: str, include_intermediates: bool = False) -> List[s
return subdirs


def match(root: str, pattern: str) -> Dict[str, dict]:
def match(root: str, pattern: str, sort_by: str = None) -> Dict[str, dict]:
"""
Find and return information about subdirectories of a root that match a given pattern.
Expand Down

0 comments on commit 4c7c213

Please sign in to comment.