#pragma once #include #include "util.hh" namespace nix { class Store; struct GitInfo { Path storePath; std::string rev; std::string shortRev; uint64_t revCount = 0; }; GitInfo exportGit(ref store, const std::string & uri, std::experimental::optional ref = {}, const std::string & rev = "", const std::string & name = ""); }