#pragma once #include "path.hh" #include "hash.hh" #include namespace nix { class Store; } namespace nix::fetchers { struct TreeInfo { std::optional narHash; std::optional revCount; std::optional lastModified; bool operator ==(const TreeInfo & other) const { return narHash == other.narHash && revCount == other.revCount && lastModified == other.lastModified; } StorePath computeStorePath(Store & store) const; }; }