aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libbutl/filesystem.hxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/libbutl/filesystem.hxx b/libbutl/filesystem.hxx
index a6d7a4a..6ea7d2c 100644
--- a/libbutl/filesystem.hxx
+++ b/libbutl/filesystem.hxx
@@ -567,6 +567,10 @@ namespace butl
// (a/b/, b*/, true)
// (a/b/c/, c*/, false)
//
+ // Note that recursive iterating through directories currently goes
+ // depth-first which make sense for the cleanup use cases. In future we may
+ // want to make it controllable.
+ //
LIBBUTL_EXPORT void
path_search (const path& pattern,
const std::function<bool (path&&,