hyprpm: Add support for specifying exact git revisions for plugin repo (#4983)

* hyprpm(feat): support specifying exact git revs

* Mention git rev argument in help

* Mention git rev arg is optional

* Wrap text
This commit is contained in:
ItsDrike
2024-03-06 13:01:04 +01:00
committed by GitHub
parent d6f1b151b2
commit 082bf00254
5 changed files with 37 additions and 9 deletions

View File

@@ -36,7 +36,7 @@ struct SHyprlandVersion {
class CPluginManager {
public:
bool addNewPluginRepo(const std::string& url);
bool addNewPluginRepo(const std::string& url, const std::string& rev);
bool removePluginRepo(const std::string& urlOrName);
eHeadersErrors headersValid();
@@ -60,4 +60,4 @@ class CPluginManager {
std::string headerError(const eHeadersErrors err);
};
inline std::unique_ptr<CPluginManager> g_pPluginManager;
inline std::unique_ptr<CPluginManager> g_pPluginManager;