Pith - whittle
whittle/src/core/Comparator.h [0.6 kb]
Modified: 19:51:41 130 026 (27 Jul 026)
0 Days Ago
#pragma once
#include "model/FileRecord.h"
#include "core/FilterSettings.h"
#include <QHash>
#include <QList>
#include <QString>

namespace whittle {

struct DiffResult {
    QList<FileRecord> sourceRows;

    QList<FileRecord> usbOnlyRows;

    QList<FileRecord> mergeList;

    int newFileCount  = 0;
    int diffFileCount = 0;
    qint64 newBytes  = 0;
    qint64 diffBytes = 0;
};

class Comparator {
public:
    static DiffResult compare(const QHash<QString, FileRecord>& source,
                              const QHash<QString, FileRecord>& usb,
                              const FilterSettings& f);
};

} 
Updates
Whittle - Linux 130.026
Wedge - Android 126.026
Wedge - Linux 124.026
Shim - Android 117.026
Miter - 114.026
Dev
TVShow (227) 'CSA'
TVShow (228) 'APT'
TVProgram (83) 'BXT'
Miter Update(s)
Peen (Messaging)

Menu
Calendar
Project Tin (024/029)
Miter
RSS Feed
User Avatar
@vgmlr
=SUM(parts)