forked from qt-creator/qt-creator
Core: Remove FileUtils::removeFile(QString)
Only used once, and there's an easily accessible removeFiles(FilePaths) at hand. Change-Id: I939298515f27cd34d08afa327ebe198bc30851a1 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
@@ -51,7 +51,6 @@ struct CORE_EXPORT FileUtils
|
||||
static QString msgTerminalHereAction();
|
||||
static QString msgTerminalWithAction();
|
||||
// File operations aware of version control and file system case-insensitiveness
|
||||
static void removeFile(const QString &filePath, bool deleteFromFS);
|
||||
static void removeFiles(const Utils::FilePaths &filePaths, bool deleteFromFS);
|
||||
static bool renameFile(const Utils::FilePath &from, const Utils::FilePath &to,
|
||||
HandleIncludeGuards handleGuards = HandleIncludeGuards::No);
|
||||
|
||||
Reference in New Issue
Block a user