mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-29 12:17:49 +02:00
persist incoming tags
This commit is contained in:
parent
abf0f5ac87
commit
c2f62ba52a
5 changed files with 120 additions and 12 deletions
4
FS.h
4
FS.h
|
@ -97,7 +97,7 @@ namespace fs {
|
|||
* @param files Vector to store found files
|
||||
* @return true on success and false if directory not exists
|
||||
*/
|
||||
bool ReadDir(const std::string & path, std::vector<std::string> & files);
|
||||
bool ReadDir(const std::string & path, std::vector<std::string> & files);
|
||||
|
||||
/**
|
||||
* @brief Remove file with given path
|
||||
|
@ -112,6 +112,8 @@ namespace fs {
|
|||
* @return true if file exists, false otherwise
|
||||
*/
|
||||
bool Exists(const std::string & path);
|
||||
|
||||
uint32_t GetLastUpdateTime (const std::string & path); // seconds since epoch
|
||||
|
||||
bool CreateDirectory (const std::string& path);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue