mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-08-11 07:40:21 -04:00
The working (hashing) thread FileIndexMonitor is now stopped when RetroShare is closed.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4072 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
6bb4854925
commit
0a42b7899e
10 changed files with 67 additions and 31 deletions
|
@ -33,6 +33,7 @@
|
|||
#include <stdint.h>
|
||||
|
||||
class CRC32Map ;
|
||||
class RsThread;
|
||||
|
||||
namespace RsDirUtil {
|
||||
|
||||
|
@ -64,7 +65,7 @@ bool checkCreateDirectory(const std::string& dir);
|
|||
bool cleanupDirectory(const std::string& dir, const std::list<std::string> &keepFiles);
|
||||
|
||||
bool hashFile(const std::string& filepath, std::string &name, std::string &hash, uint64_t &size);
|
||||
bool getFileHash(const std::string& filepath,std::string &hash, uint64_t &size);
|
||||
bool getFileHash(const std::string& filepath,std::string &hash, uint64_t &size, RsThread *thread = NULL);
|
||||
|
||||
|
||||
std::wstring getWideTopDir(std::wstring);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue