Checks if the given path is a UNC path in the form \\server\share[\...] @param p_FilePath Path to verify. @return true if the path is a UNC path.
| 198 | // @return true if the path is a UNC path. |
| 199 | // |
| 200 | bool PluginUtils::IsUNCPath(const std::wstring& p_FilePath) noexcept |
| 201 | { |
| 202 | return p_FilePath.find(L"\\\\") == 0 && p_FilePath.find(L'\\', 2) > 2; |
| 203 | } |
| 204 | |
| 205 | // |
| 206 | // Checks if the given file resides on a mapped network drive. |
nothing calls this directly
no outgoing calls
no test coverage detected