|
@@ -88,7 +88,8 @@ private:
|
|
public:
|
|
public:
|
|
DownloadContext();
|
|
DownloadContext();
|
|
|
|
|
|
- // Convenient constructor that creates single file download.
|
|
|
|
|
|
+ // Convenient constructor that creates single file download. path
|
|
|
|
+ // should be escaped with util::escapePath(...).
|
|
DownloadContext(size_t pieceLength,
|
|
DownloadContext(size_t pieceLength,
|
|
uint64_t totalLength,
|
|
uint64_t totalLength,
|
|
const std::string& path = A2STR::NIL);
|
|
const std::string& path = A2STR::NIL);
|