Make sync journal name generating a method of SyncJournal.
Before it was in Folder, however, the command line client does not have the Folder class. To not duplicate code, the function to generate the sync journal name went to SyncEngine class.
Esse commit está contido em:
@@ -271,7 +271,6 @@ void selectiveSyncFixup(OCC::SyncJournalDb *journal, const QStringList &newList)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
int main(int argc, char **argv) {
|
||||
QCoreApplication app(argc, argv);
|
||||
|
||||
@@ -437,8 +436,6 @@ restart_sync:
|
||||
|
||||
Cmd cmd;
|
||||
SyncJournalDb db;
|
||||
// FIXME: Use new MD5 based name
|
||||
db.setDatabaseFilePath(options.source_dir + ".csync_journal.db");
|
||||
|
||||
if (!selectiveSyncList.empty()) {
|
||||
selectiveSyncFixup(&db, selectiveSyncList);
|
||||
|
||||
Referência em uma Nova Issue
Bloquear um usuário