#pragma once #include "path.hh" namespace nix { class Store; } namespace nix::fetchers { struct TreeInfo { Hash 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; }; }