MCPcopy Create free account
hub / github.com/Martchus/syncthingtray / formattedDatabaseSize

Method formattedDatabaseSize

syncthingwidgets/quick/app.cpp:1320–1324  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1318}
1319
1320QVariant App::formattedDatabaseSize(const QString &path, const QString &extension) const
1321{
1322 const auto size = databaseSize(path, extension);
1323 return size > 0 ? QVariant(QString::fromStdString(CppUtilities::dataSizeToString(static_cast<std::uint64_t>(size)))) : QVariant();
1324}
1325
1326QVariantMap App::statistics() const
1327{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected