diff options
author | Michael Vogt <michael.vogt@ubuntu.com> | 2012-09-04 12:21:29 +0200 |
---|---|---|
committer | Michael Vogt <michael.vogt@ubuntu.com> | 2012-09-04 12:21:29 +0200 |
commit | 8d01b9d692f49309235e710b79937baf605fda3d (patch) | |
tree | f49d527913ed7a504bd0ffcf2910554eea5ae043 /apt-pkg/contrib/fileutl.h | |
parent | 7735ad0500b6fefef03b2a3dc2a6843e82353e94 (diff) |
add "Glob()" to fileutl
Diffstat (limited to 'apt-pkg/contrib/fileutl.h')
-rw-r--r-- | apt-pkg/contrib/fileutl.h | 3 |
1 files changed, 3 insertions, 0 deletions
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<std::string> Glob(std::string const &pattern, int flags=0); + #endif |