#pragma once #include "store-api.hh" #include namespace nix { struct GitInfo { Path storePath; std::string ref; Hash rev{htSHA1}; uint64_t revCount; time_t lastModified; }; GitInfo exportGit(ref store, std::string uri, std::optional ref, std::optional rev, const std::string & name); }