forked from qt-creator/qt-creator
Utils: Add PersistentCacheStore
Change-Id: I952e0271afcc0fd4b03ef75fa5acb219be153290 Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -749,6 +749,11 @@ FilePath FilePath::withExecutableSuffix() const
|
||||
return withNewPath(OsSpecificAspects::withExecutableSuffix(osType(), path()));
|
||||
}
|
||||
|
||||
FilePath FilePath::withSuffix(const QString &suffix) const
|
||||
{
|
||||
return withNewPath(path() + suffix);
|
||||
}
|
||||
|
||||
static bool startsWithWindowsDriveLetterAndSlash(QStringView path)
|
||||
{
|
||||
return path.size() > 2 && path[1] == ':' && path[2] == '/' && isWindowsDriveLetter(path[0]);
|
||||
|
||||
Reference in New Issue
Block a user