aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2019-09-30 14:06:17 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2019-09-30 19:50:01 +0300
commitc556ce737744b2e530ca6ca4b773569c712a0d86 (patch)
tree9bdcba7a0b8a029740f0e79a9ab351f5400ce482
parentdc8aa85f3d78fccf204530c8db6baf68229edf5e (diff)
Adapt to moving path match to path-pattern.?xx
-rw-r--r--mod/build-config-module.cxx5
-rw-r--r--mod/mod-build-task.cxx2
-rw-r--r--mod/mod-builds.cxx5
3 files changed, 6 insertions, 6 deletions
diff --git a/mod/build-config-module.cxx b/mod/build-config-module.cxx
index 028c956..13f61b7 100644
--- a/mod/build-config-module.cxx
+++ b/mod/build-config-module.cxx
@@ -10,9 +10,10 @@
#include <sstream>
#include <libbutl/sha256.mxx>
-#include <libbutl/utility.mxx> // throw_generic_error(), alpha(), etc.
+#include <libbutl/utility.mxx> // throw_generic_error(), alpha(), etc.
#include <libbutl/openssl.mxx>
-#include <libbutl/filesystem.mxx>
+#include <libbutl/filesystem.mxx> // dir_iterator, dir_entry
+#include <libbutl/path-pattern.mxx>
namespace brep
{
diff --git a/mod/mod-build-task.cxx b/mod/mod-build-task.cxx
index 7edc14a..81e9a6a 100644
--- a/mod/mod-build-task.cxx
+++ b/mod/mod-build-task.cxx
@@ -15,8 +15,8 @@
#include <libbutl/utility.mxx> // compare_c_string
#include <libbutl/openssl.mxx>
#include <libbutl/fdstream.mxx> // nullfd
-#include <libbutl/filesystem.mxx> // path_match()
#include <libbutl/process-io.mxx>
+#include <libbutl/path-pattern.mxx>
#include <libbutl/manifest-parser.mxx>
#include <libbutl/manifest-serializer.mxx>
diff --git a/mod/mod-builds.cxx b/mod/mod-builds.cxx
index ec469a4..e749461 100644
--- a/mod/mod-builds.cxx
+++ b/mod/mod-builds.cxx
@@ -12,9 +12,8 @@
#include <odb/database.hxx>
#include <odb/transaction.hxx>
-#include <libbutl/timestamp.mxx> // to_string()
-#include <libbutl/filesystem.mxx> // path_match(), path_pattern(), literal(),
- // path_pattern_iterator
+#include <libbutl/timestamp.mxx> // to_string()
+#include <libbutl/path-pattern.mxx>
#include <libbbot/manifest.hxx> // to_result_status(), to_string(result_status)