From 8d01b9d692f49309235e710b79937baf605fda3d Mon Sep 17 00:00:00 2001 From: Michael Vogt Date: Tue, 4 Sep 2012 12:21:29 +0200 Subject: add "Glob()" to fileutl --- apt-pkg/contrib/fileutl.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'apt-pkg/contrib/fileutl.h') diff --git a/apt-pkg/contrib/fileutl.h b/apt-pkg/contrib/fileutl.h index 1ca41cb7d..ed4902332 100644 --- a/apt-pkg/contrib/fileutl.h +++ b/apt-pkg/contrib/fileutl.h @@ -186,4 +186,7 @@ std::string flNoLink(std::string File); std::string flExtension(std::string File); std::string flCombine(std::string Dir,std::string File); +// simple c++ glob +std::vector Glob(std::string const &pattern, int flags=0); + #endif -- cgit v1.2.3