From cdff420f5cac0d904a125379f2782671fb0fa926 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E5=87=AF?= Date: Fri, 6 Dec 2024 08:48:51 +0000 Subject: [PATCH] update services/include/fs_manager/mount.h. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 陈凯 --- services/include/fs_manager/mount.h | 1 + 1 file changed, 1 insertion(+) diff --git a/services/include/fs_manager/mount.h b/services/include/fs_manager/mount.h index 3218aef7..c63c1e53 100644 --- a/services/include/fs_manager/mount.h +++ b/services/include/fs_manager/mount.h @@ -23,6 +23,7 @@ namespace Updater { void LoadFstab(); /* Load fstab */ void LoadSpecificFstab(const std::string &fstabName); +void ErasePartition(const std::string &devPath); int FormatPartition(const std::string &path, bool isZeroErase = false); int UmountForPath(const std::string &path); int MountForPath(const std::string &path); -- Gitee