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

Function gitHeadFile

plugins/git/gitplugin.cpp:93–97  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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,

Calls 1

dotGitDirectoryFunction · 0.85

Tested by

no test coverage detected