MCPcopy Create free account
hub / github.com/RetroShare/RetroShare / createExtraFile

Method createExtraFile

retroshare-gui/src/gui/RetroShareLink.cpp:634–649  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

632}
633
634RetroShareLink RetroShareLink::createExtraFile(const QString& name, uint64_t size, const QString& hash,const QString& ssl_id)
635{
636 RetroShareLink link;
637 link.clear();
638
639 link._name = name;
640 link._size = size;
641 link._hash = hash;
642 link._SSLid = ssl_id;
643
644 link._type = TYPE_EXTRAFILE;
645
646 link.check();
647
648 return link;
649}
650
651//Private Chat deprecated
652

Callers 1

linkClickedMethod · 0.80

Calls 2

clearMethod · 0.45
checkMethod · 0.45

Tested by

no test coverage detected