diff options
author | Michael Vogt <mvo@debian.org> | 2013-12-22 22:15:52 +0100 |
---|---|---|
committer | Michael Vogt <mvo@debian.org> | 2013-12-22 22:15:52 +0100 |
commit | 68e0172140872d8044b3c768a6bea3ac58d426c4 (patch) | |
tree | 8562f0708130ee1b628e256c49be31f8c1c7e1b2 /apt-pkg/contrib/fileutl.h | |
parent | 38beb8b5936e9d85a5bb99bf3860f082bbe34439 (diff) |
factor GetTempDir out
Diffstat (limited to 'apt-pkg/contrib/fileutl.h')
-rw-r--r-- | apt-pkg/contrib/fileutl.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/apt-pkg/contrib/fileutl.h b/apt-pkg/contrib/fileutl.h index e9a9aab28..e752e9621 100644 --- a/apt-pkg/contrib/fileutl.h +++ b/apt-pkg/contrib/fileutl.h @@ -165,6 +165,8 @@ bool DirectoryExists(std::string const &Path) __attrib_const; bool CreateDirectory(std::string const &Parent, std::string const &Path); time_t GetModificationTime(std::string const &Path); +std::string GetTempDir(); + /** \brief Ensure the existence of the given Path * * \param Parent directory of the Path directory - a trailing |