forked from qt-creator/qt-creator
Utils: Introduce FilePath::normalizePathName()
... as wrapper around FileUtils::normalizePathName, and use it in some places. Change-Id: I42792e1f175b8119c8db930eae80a9f822ac70fa Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
@@ -120,6 +120,10 @@ public:
|
||||
FilePath absoluteFilePath() const;
|
||||
FilePath absoluteFilePath(const FilePath &tail) const;
|
||||
|
||||
// makes sure that capitalization of directories is canonical
|
||||
// on Windows and macOS. This is rarely needed.
|
||||
FilePath normalizePathName() const;
|
||||
|
||||
bool operator==(const FilePath &other) const;
|
||||
bool operator!=(const FilePath &other) const;
|
||||
bool operator<(const FilePath &other) const;
|
||||
|
||||
Reference in New Issue
Block a user