mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-05 01:05:34 +08:00
Minor performance improvement of subdir check
* follow T689 * no need to always get and init simulator directory as it will not change
This commit is contained in:
committed by
Mat Sutcliffe
parent
3dde201df0
commit
58b7c875bc
@@ -185,8 +185,13 @@ namespace BlackMisc
|
||||
static bool isSameExistingDirectory(const QString &dir1, const QString &dir2);
|
||||
|
||||
//! Is dir1 a subdirectory (possibly nested) of dir2 or the same directory
|
||||
//! \remark testing on real directory structure
|
||||
static bool isSubDirectoryOf(const QString &dir1, const QString &dir2);
|
||||
|
||||
//! Is dir1 a subdirectory (possibly nested) of dir2 or the same directory
|
||||
//! \remark testing on real directory structure
|
||||
static bool isSubDirectoryOf(const QString &dir1, const QDir &dir2);
|
||||
|
||||
//! Result of directory comparison
|
||||
struct DirComparison
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user