MCPcopy 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
292bool 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
298bool Path::isRemote() const
299{

Callers 15

convertToLocalUrlMethod · 0.80
urlInfoFunction · 0.80
canPointToFileFunction · 0.80
checkoutVcsProjectMethod · 0.80
reevaluateCorrectionMethod · 0.80
importProjectMethod · 0.80
projectFileExistsFunction · 0.80
openProjectForUrlMethod · 0.80
contextMenuExtensionMethod · 0.80

Calls 3

isEmptyMethod · 0.45
containsMethod · 0.45
firstMethod · 0.45

Tested by 4

testPathMethod · 0.64
testDiffMethod · 0.64