Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/KDE/kdevelop
/ isLocalFile
Method
isLocalFile
kdevplatform/util/path.cpp:292–296 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
290
}
291
292
bool Path::isLocalFile() const
293
{
294
// if the first data element contains a
'/'
it is a Path prefix
295
return !m_data.isEmpty() && !m_data.first().contains(QLatin1Char(
'/'
));
296
}
297
298
bool Path::isRemote() const
299
{
Callers
15
convertToLocalUrl
Method · 0.80
urlInfo
Function · 0.80
canPointToFile
Function · 0.80
urlWithCanonicalizedPathIfLocalFile
Function · 0.80
checkoutVcsProject
Method · 0.80
reevaluateCorrection
Method · 0.80
importProject
Method · 0.80
writeProjectSettingsToConfigFile
Function · 0.80
projectFileExists
Function · 0.80
askProjectConfigLocation
Method · 0.80
openProjectForUrl
Method · 0.80
contextMenuExtension
Method · 0.80
Calls
3
isEmpty
Method · 0.45
contains
Method · 0.45
first
Method · 0.45
Tested by
4
preserveWindowsDriveLetter
Function · 0.64
testPath
Method · 0.64
testExtractionOfLineAndColumn
Method · 0.64
testDiff
Method · 0.64