void Upload::appendFlags(OrderedStringSet& flags_) const noexcept { if (isSet(Upload::FLAG_PARTIAL)) { flags_.insert("P"); } if (isSet(Upload::FLAG_ZUPLOAD)) { flags_.insert("Z"); } if (isSet(Upload::FLAG_CHUNKED)) { flags_.insert("C"); } Transfer::appendFlags(flags_); }
void Download::appendFlags(OrderedStringSet& flags_) const noexcept { if (isSet(Download::FLAG_PARTIAL)) { flags_.insert("P"); } if (isSet(Download::FLAG_TTH_CHECK)) { flags_.insert("T"); } if (isSet(Download::FLAG_ZDOWNLOAD)) { flags_.insert("Z"); } if (isSet(Download::FLAG_CHUNKED)) { flags_.insert("C"); } Transfer::appendFlags(flags_); }