blob: implement deleteBlob command
Implement the deleteBlob command for the blob handler. Adding a unit
test to go along with it.
Change-Id: I2bbc93a6e78d5311bd2033d6a8b179374777f794
Signed-off-by: Brandon Kim <brandonkim@google.com>
diff --git a/src/ipmiblob/blob_interface.hpp b/src/ipmiblob/blob_interface.hpp
index fbd8c6a..ca90cdf 100644
--- a/src/ipmiblob/blob_interface.hpp
+++ b/src/ipmiblob/blob_interface.hpp
@@ -114,6 +114,13 @@
virtual void closeBlob(std::uint16_t session) = 0;
/**
+ * Attempt to delete a blobId.
+ *
+ * @param[in] path - the blobId path.
+ */
+ virtual void deleteBlob(const std::string& id) = 0;
+
+ /**
* Read bytes from a blob.
*
* @param[in] session - the session id.