MCPcopy Create free account
hub / github.com/codestation/qcma / updateSize

Method updateSize

common/sqlitedb.cpp:444–448  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

442}
443
444bool SQLiteDB::updateSize(int ohfi, quint64 size)
445{
446 QSqlQuery query(QString("UPDATE sources SET size = %1 WHERE object_id == %2").arg(size).arg(ohfi));
447 return query.exec();
448}
449
450bool SQLiteDB::deleteEntry(int ohfi)
451{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected