blob: add equality operator for StatResponse

Change-Id: I918facfec4ffbd36f50862c62e366dec0cedd54f
Signed-off-by: Patrick Venture <venture@google.com>
diff --git a/src/ipmiblob/blob_interface.hpp b/src/ipmiblob/blob_interface.hpp
index 989d461..26ca837 100644
--- a/src/ipmiblob/blob_interface.hpp
+++ b/src/ipmiblob/blob_interface.hpp
@@ -12,6 +12,12 @@
     std::uint16_t blob_state;
     std::uint32_t size;
     std::vector<std::uint8_t> metadata;
+
+    bool operator==(const StatResponse& rhs) const
+    {
+        return (this->blob_state == rhs.blob_state && this->size == rhs.size &&
+                this->metadata == rhs.metadata);
+    }
 };
 
 class BlobInterface