forked from qt-creator/qt-creator
Vcs: Replace findRepositoryForDirectory
By some function findRepositoryForFile operating on any file and using FilePath. Change-Id: I91b8aa38b1c6b33993b9b790fbc2ff4d378ad8a8 Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
@@ -125,7 +125,8 @@ inline bool operator!=(const VcsBasePluginState &s1, const VcsBasePluginState &s
|
||||
// systems that do not have directories like "CVS" in each managed subdirectory
|
||||
// but have a directory at the top of the repository like ".git" containing
|
||||
// a well known file. See implementation for gory details.
|
||||
VCSBASE_EXPORT QString findRepositoryForDirectory(const QString &dir, const QString &checkFile);
|
||||
VCSBASE_EXPORT Utils::FilePath findRepositoryForFile(const Utils::FilePath &fileOrDir,
|
||||
const QString &checkFile);
|
||||
|
||||
// Returns SSH prompt configured in settings.
|
||||
VCSBASE_EXPORT QString sshPrompt();
|
||||
|
||||
Reference in New Issue
Block a user