aboutsummaryrefslogtreecommitdiff
path: root/src/libfetchers/fetchers.hh
diff options
context:
space:
mode:
authorregnat <rg@regnat.ovh>2021-07-05 13:09:46 +0200
committerregnat <rg@regnat.ovh>2021-07-06 08:41:52 +0200
commit83615fcf8fe6095b60e33097e2d15fb1a3f56298 (patch)
tree0c0a3cf96149773b5e5ba97203d6235e5dc5ab24 /src/libfetchers/fetchers.hh
parentf9d72855ae8878cdd3f892674c29dc1fc7616cbc (diff)
Allow `fetchGit` to take a `name` argument
Fix #3388
Diffstat (limited to 'src/libfetchers/fetchers.hh')
-rw-r--r--src/libfetchers/fetchers.hh2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libfetchers/fetchers.hh b/src/libfetchers/fetchers.hh
index a72cfafa4..c839cf23b 100644
--- a/src/libfetchers/fetchers.hh
+++ b/src/libfetchers/fetchers.hh
@@ -81,6 +81,8 @@ public:
std::string_view file,
std::optional<std::string> commitMsg) const;
+ std::string getName() const;
+
StorePath computeStorePath(Store & store) const;
// Convenience functions for common attributes.