diff options
| author | ItsDrike <itsdrike@protonmail.com> | 2024-03-06 13:01:04 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-03-06 12:01:04 +0000 |
| commit | 082bf002546cfa7aaa7c5b79b03a1b6dd95454af (patch) | |
| tree | 68a726fcf45e1901a24821d6fcc6386b15c01f48 /hyprpm/src/core/PluginManager.hpp | |
| parent | d6f1b151b2fe85ffbb131cbdd05acefc6a357e81 (diff) | |
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
Diffstat (limited to 'hyprpm/src/core/PluginManager.hpp')
| -rw-r--r-- | hyprpm/src/core/PluginManager.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hyprpm/src/core/PluginManager.hpp b/hyprpm/src/core/PluginManager.hpp index dedb2d43..028e6357 100644 --- a/hyprpm/src/core/PluginManager.hpp +++ b/hyprpm/src/core/PluginManager.hpp @@ -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;
\ No newline at end of file +inline std::unique_ptr<CPluginManager> g_pPluginManager; |
