diff options
author | Michael Vogt <egon@debian-devbox> | 2012-10-17 10:27:50 +0200 |
---|---|---|
committer | Michael Vogt <mvo@debian.org> | 2013-08-15 09:43:43 +0200 |
commit | 488011fa99aee25bedb39ae2cc3115ad1ab000c0 (patch) | |
tree | c99ac9dd28d4e50df79a47f7920829c9cb39c179 /apt-pkg/contrib/fileutl.h | |
parent | d8a06f6e478323b2fa8573f6f885c0b16d403642 (diff) |
* lp:~mvo/apt/add-glob-function:
- add Glob() to fileutl.{cc,h}
Conflicts:
apt-pkg/contrib/fileutl.h
debian/changelog
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 3ec01dd9a..decd64d9d 100644 --- a/apt-pkg/contrib/fileutl.h +++ b/apt-pkg/contrib/fileutl.h @@ -191,4 +191,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 |