| 883 | } |
| 884 | |
| 885 | std::string RequestGroup::getFirstFilePath() const |
| 886 | { |
| 887 | assert(downloadContext_); |
| 888 | if (inMemoryDownload()) { |
| 889 | return "[MEMORY]" + |
| 890 | File(downloadContext_->getFirstFileEntry()->getPath()).getBasename(); |
| 891 | } |
| 892 | return downloadContext_->getFirstFileEntry()->getPath(); |
| 893 | } |
| 894 | |
| 895 | int64_t RequestGroup::getTotalLength() const |
| 896 | { |