blobs-ipmid: blobs: add equality operator for BlobMeta

Signed-off-by: Patrick Venture <venture@google.com>
Change-Id: I22ac3b8c5ad49e2fa3424ef6d9f03a3d5dc7bf51
diff --git a/blobs-ipmid/blobs.hpp b/blobs-ipmid/blobs.hpp
index 7b7c5c7..dbeac21 100644
--- a/blobs-ipmid/blobs.hpp
+++ b/blobs-ipmid/blobs.hpp
@@ -44,6 +44,12 @@
     uint16_t blobState;
     uint32_t size;
     std::vector<uint8_t> metadata;
+
+    bool operator==(const BlobMeta& rhs) const
+    {
+        return (this->blobState == rhs.blobState && this->size == rhs.size &&
+                this->metadata == rhs.metadata);
+    }
 };
 
 /*