From 55764e395c453b537c08c1e5cadfbb2ddd349279 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Sat, 28 Sep 2019 20:45:34 +0300 Subject: Swap entry and pattern parameters in path_match() --- libbutl/filesystem.mxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libbutl/filesystem.mxx') diff --git a/libbutl/filesystem.mxx b/libbutl/filesystem.mxx index 24922a1..261b985 100644 --- a/libbutl/filesystem.mxx +++ b/libbutl/filesystem.mxx @@ -775,7 +775,7 @@ LIBBUTL_MODEXPORT namespace butl // directory separator). // LIBBUTL_SYMEXPORT bool - path_match (const std::string& pattern, const std::string& name); + path_match (const std::string& name, const std::string& pattern); // Return true if path entry matches pattern. Note that the match is // performed literally, with no paths normalization being performed. The @@ -786,8 +786,8 @@ LIBBUTL_MODEXPORT namespace butl // wildcard sequences (see path_search() for details). // LIBBUTL_SYMEXPORT bool - path_match (const path& pattern, - const path& entry, + path_match (const path& entry, + const path& pattern, const dir_path& start = dir_path (), path_match_flags = path_match_flags::none); -- cgit v1.1