#pragma once namespace nix { 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; } }; }