diff options
author | Michael Vogt <mvo@debian.org> | 2014-03-12 20:33:05 +0100 |
---|---|---|
committer | Michael Vogt <mvo@debian.org> | 2014-03-12 20:33:05 +0100 |
commit | c1409d1be88557529c62883be3174793481233de (patch) | |
tree | 56abe9525be918676c4f886ee19875054469e1cf /apt-pkg/contrib/fileutl.h | |
parent | e43a426e5d402d36eb180935fbbf1430a4a86e3f (diff) |
add hashsum support in apt-file download and add more tests
Diffstat (limited to 'apt-pkg/contrib/fileutl.h')
-rw-r--r-- | apt-pkg/contrib/fileutl.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apt-pkg/contrib/fileutl.h b/apt-pkg/contrib/fileutl.h index e752e9621..f0569b6fd 100644 --- a/apt-pkg/contrib/fileutl.h +++ b/apt-pkg/contrib/fileutl.h @@ -164,6 +164,7 @@ bool RealFileExists(std::string File); 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); +bool Rename(std::string From, std::string To); std::string GetTempDir(); |