mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-13 07:35:41 +08:00
Avoid long "hanging" if Windows UNC path is not reachable
Use own "isDirExisting" function checking UNC paths
This commit is contained in:
@@ -147,6 +147,15 @@ namespace BlackMisc
|
||||
//! Fix UNC file paths
|
||||
static QStringList fixWindowsUncPaths(const QStringList &filePaths);
|
||||
|
||||
//! Windows UNC path?
|
||||
static bool isWindowsUncPath(const QString &filePath);
|
||||
|
||||
//! Machine in Windows UNC path
|
||||
static QString windowsUncMachine(const QString &filePath);
|
||||
|
||||
//! Can connect the UNC machine
|
||||
static bool canPingUncMachine(const QString &machine);
|
||||
|
||||
//! To Windows path using "\" delimiter
|
||||
static QString toWindowsLocalPath(const QString &path);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user