diff options
author | Michael Vogt <mvo@ubuntu.com> | 2014-04-28 17:25:28 +0200 |
---|---|---|
committer | Michael Vogt <mvo@ubuntu.com> | 2014-04-28 17:25:28 +0200 |
commit | 8e0002ac420707b94a8a43dfedea7fc182dd5851 (patch) | |
tree | ee125ad1dd03f56436fb733f13d4c36c1e3d2fa8 /apt-pkg/contrib/fileutl.h | |
parent | a9d990a2602fca4f217705e356b449b0f42a7760 (diff) | |
parent | 53ac87ac9c27af39df062516aab5dce880af107a (diff) |
Merge branch 'feature/abspath' into feature/apt-install-deb
Conflicts:
test/libapt/fileutl_test.cc
Diffstat (limited to 'apt-pkg/contrib/fileutl.h')
-rw-r--r-- | apt-pkg/contrib/fileutl.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/apt-pkg/contrib/fileutl.h b/apt-pkg/contrib/fileutl.h index 489cee13a..452e5fcc2 100644 --- a/apt-pkg/contrib/fileutl.h +++ b/apt-pkg/contrib/fileutl.h @@ -200,6 +200,10 @@ std::string flNoLink(std::string File); std::string flExtension(std::string File); std::string flCombine(std::string Dir,std::string File); +/** \brief Takes a file path and returns the absolute path + */ +std::string flAbsPath(std::string File); + // simple c++ glob std::vector<std::string> Glob(std::string const &pattern, int flags=0); |