MCPcopy Create free account
hub / github.com/RGAA-Software/GoDesk / Delete

Method Delete

src/render_panel/database/file_transfer_record_operator.cpp:64–68  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

62 }
63
64 void FileTransferRecordOperator::Delete(int id) {
65 using Storage = decltype(db_->GetStorageTypeValue());
66 auto storage = std::any_cast<Storage>(db_->GetDbStorage());
67 storage.remove<FileTransferRecord>(id);
68 }
69
70 void FileTransferRecordOperator::DeleteAll() {
71 using Storage = decltype(db_->GetStorageTypeValue());

Callers

nothing calls this directly

Calls 2

GetStorageTypeValueMethod · 0.80
GetDbStorageMethod · 0.80

Tested by

no test coverage detected