MCPcopy Create free account
hub / github.com/c3d/tao3D / pathIsRoot

Method pathIsRoot

tao/git_backend.cpp:1531–1541  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1529
1530
1531bool GitRepository::pathIsRoot()
1532// ----------------------------------------------------------------------------
1533// Return true if path used to open repository is the top-level directory
1534// ----------------------------------------------------------------------------
1535{
1536#if defined(Q_OS_MACX)
1537 // Workaround bug#657
1538 QCoreApplication::processEvents();
1539#endif
1540 return (QDir(path + "/.git").exists());
1541}
1542
1543
1544void GitProcess::setEnvironment()

Callers 1

newRepositoryMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected