diff options
Diffstat (limited to 'libs/pbd/file_utils.cc')
-rw-r--r-- | libs/pbd/file_utils.cc | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/libs/pbd/file_utils.cc b/libs/pbd/file_utils.cc index 9d7075e942..eb9661eab6 100644 --- a/libs/pbd/file_utils.cc +++ b/libs/pbd/file_utils.cc @@ -290,6 +290,17 @@ find_files_matching_regex (vector<string>& result, } void +find_paths_matching_filter (vector<string>& result, + const Searchpath& paths, + bool (*filter)(const string &, void *), + void *arg, + bool match_fullpath, bool return_fullpath, + bool recurse) +{ + run_functor_for_paths (result, paths, filter, arg, false, match_fullpath, return_fullpath, recurse); +} + +void find_files_matching_filter (vector<string>& result, const Searchpath& paths, bool (*filter)(const string &, void *), |