CommandDelete: refactor: split handle to several methods

This commit is contained in:
2019-04-09 22:03:04 +02:00
부모 03320ad6eb
커밋 071bddf28d
2개의 변경된 파일81개의 추가작업 그리고 56개의 파일을 삭제

파일 보기

@ -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