about summary refs log tree commit diff
path: root/src/libexpr/primops/fetchgit.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/libexpr/primops/fetchgit.hh')
-rw-r--r--src/libexpr/primops/fetchgit.hh14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/libexpr/primops/fetchgit.hh b/src/libexpr/primops/fetchgit.hh
new file mode 100644
index 0000000000..6ffb21a96d
--- /dev/null
+++ b/src/libexpr/primops/fetchgit.hh
@@ -0,0 +1,14 @@
+#pragma once
+
+#include <string>
+
+#include "ref.hh"
+
+namespace nix {
+
+class Store;
+
+Path exportGit(ref<Store> store,
+    const std::string & uri, const std::string & rev);
+
+}