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