Enable clang code format
Change-Id: Ia899858c11cff6e4fa26b820b35b1e5dca1b57df
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
diff --git a/image_manager.hpp b/image_manager.hpp
index 4938823..ccd82a0 100644
--- a/image_manager.hpp
+++ b/image_manager.hpp
@@ -16,47 +16,47 @@
*/
class Manager
{
- public:
- /** @brief Constructs Manager Class
- *
- * @param[in] bus - The Dbus bus object
- */
- Manager(sdbusplus::bus::bus& bus) : bus(bus){};
+ public:
+ /** @brief Constructs Manager Class
+ *
+ * @param[in] bus - The Dbus bus object
+ */
+ Manager(sdbusplus::bus::bus& bus) : bus(bus){};
- /**
- * @brief Verify and untar the tarball. Verify the manifest file.
- * Create and populate the version and filepath interfaces.
- *
- * @param[in] tarballFilePath - Tarball path.
- * @param[out] result - 0 if successful.
- */
- int processImage(const std::string& tarballFilePath);
+ /**
+ * @brief Verify and untar the tarball. Verify the manifest file.
+ * Create and populate the version and filepath interfaces.
+ *
+ * @param[in] tarballFilePath - Tarball path.
+ * @param[out] result - 0 if successful.
+ */
+ int processImage(const std::string& tarballFilePath);
- /**
- * @brief Erase specified entry d-bus object
- * and deletes the image file.
- *
- * @param[in] entryId - unique identifier of the entry
- */
- void erase(std::string entryId);
+ /**
+ * @brief Erase specified entry d-bus object
+ * and deletes the image file.
+ *
+ * @param[in] entryId - unique identifier of the entry
+ */
+ void erase(std::string entryId);
- private:
- /** @brief Persistent map of Version dbus objects and their
- * version id */
- std::map<std::string, std::unique_ptr<Version>> versions;
+ private:
+ /** @brief Persistent map of Version dbus objects and their
+ * version id */
+ std::map<std::string, std::unique_ptr<Version>> versions;
- /** @brief Persistent sdbusplus DBus bus connection. */
- sdbusplus::bus::bus& bus;
+ /** @brief Persistent sdbusplus DBus bus connection. */
+ sdbusplus::bus::bus& bus;
- /**
- * @brief Untar the tarball.
- *
- * @param[in] tarballFilePath - Tarball path.
- * @param[in] extractDirPath - Dir path to extract tarball ball to.
- * @param[out] result - 0 if successful.
- */
- static int unTar(const std::string& tarballFilePath,
- const std::string& extractDirPath);
+ /**
+ * @brief Untar the tarball.
+ *
+ * @param[in] tarballFilePath - Tarball path.
+ * @param[in] extractDirPath - Dir path to extract tarball ball to.
+ * @param[out] result - 0 if successful.
+ */
+ static int unTar(const std::string& tarballFilePath,
+ const std::string& extractDirPath);
};
} // namespace manager