| 91 | } |
| 92 | |
| 93 | [[nodiscard]] QString gitHeadFile(const QUrl& dirPath) |
| 94 | { |
| 95 | const auto dir = dotGitDirectory(dirPath); |
| 96 | return dir.absoluteFilePath(QStringLiteral(".git/HEAD")); |
| 97 | } |
| 98 | |
| 99 | /** |
| 100 | * Whenever a directory is provided, change it for all the files in it but not inner directories, |
no test coverage detected