mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-08-09 11:42:33 +00:00
* Keep a cache listing all, including failed, torrent loads and the
mtimes of those files. This is used to ensure that e.g. the watch dir does not try to load bad/duplicate torrents, in addition to optimizing the pruning of those already loaded. git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@1024 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
@@ -48,6 +48,10 @@ namespace torrent {
|
||||
class Bencode;
|
||||
}
|
||||
|
||||
namespace utils {
|
||||
class FileStatusCache;
|
||||
}
|
||||
|
||||
namespace core {
|
||||
|
||||
class DownloadStore;
|
||||
@@ -58,6 +62,8 @@ class View;
|
||||
class Manager {
|
||||
public:
|
||||
typedef DownloadList::iterator DListItr;
|
||||
typedef utils::FileStatusCache FileStatusCache;
|
||||
|
||||
typedef sigc::slot1<void, DownloadList::iterator> SlotReady;
|
||||
typedef sigc::slot0<void> SlotFailed;
|
||||
|
||||
@@ -66,6 +72,7 @@ public:
|
||||
|
||||
DownloadList* download_list() { return m_downloadList; }
|
||||
DownloadStore* download_store() { return m_downloadStore; }
|
||||
FileStatusCache* file_status_cache() { return m_fileStatusCache; }
|
||||
|
||||
HttpQueue* http_queue() { return m_httpQueue; }
|
||||
|
||||
@@ -122,6 +129,7 @@ private:
|
||||
|
||||
DownloadList* m_downloadList;
|
||||
DownloadStore* m_downloadStore;
|
||||
FileStatusCache* m_fileStatusCache;
|
||||
HttpQueue* m_httpQueue;
|
||||
|
||||
View* m_hashingView;
|
||||
|
||||
Reference in New Issue
Block a user