CommandDelete: refactor: split handle to several methods
This commit is contained in:
@ -8,6 +8,10 @@ class CommandDelete : public Command
|
||||
using Command::Command;
|
||||
|
||||
int handle(QStringList arguments) override;
|
||||
|
||||
private:
|
||||
int removeNonExistent(QSqlDatabase &db, bool verbose, bool dryRun, QString pattern);
|
||||
int removePaths(const QStringList &paths, QSqlDatabase &db, bool verbose, bool dryRun);
|
||||
};
|
||||
|
||||
#endif // COMMANDDELETE_H
|
||||
|
Reference in New Issue
Block a user