MCPcopy Create free account
hub / github.com/KDE/kdevelop / isValid

Method isValid

kdevplatform/vcs/vcslocation.cpp:73–79  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

71}
72
73bool VcsLocation::isValid() const
74{
75 return( ( d->m_localUrl.isValid()
76 && d->m_type == VcsLocation::LocalLocation )
77 || ( !d->m_repoServer.isEmpty()
78 && d->m_type == VcsLocation::RepositoryLocation ) );
79}
80
81void VcsLocation::setLocalUrl( const QUrl& url )
82{

Callers 15

flagsMethod · 0.45
rowCountMethod · 0.45
dataMethod · 0.45
setDataMethod · 0.45
reportChangeMethod · 0.45
testFileUrlMethod · 0.45
textHintMethod · 0.45
setThreadShownMethod · 0.45
frameSelectionChangedMethod · 0.45
setFramesMethod · 0.45
insertFramesMethod · 0.45
rowCountMethod · 0.45

Calls 1

isEmptyMethod · 0.45

Tested by 13

testFileUrlMethod · 0.36
TestProjectMethod · 0.36
compareServerLocationMethod · 0.36
testPathMethod · 0.36
testPathInvalidMethod · 0.36
cdQUrlFunction · 0.36
testPathCdMethod · 0.36