Add exception handling of RemoveAll 82/315982/2
authorIlho Kim <ilho159.kim@samsung.com>
Mon, 12 Aug 2024 06:46:57 +0000 (15:46 +0900)
committerIlho Kim <ilho159.kim@samsung.com>
Mon, 12 Aug 2024 07:00:45 +0000 (16:00 +0900)
commit63f6f7d45885f653422cd64da6a81c8a0c72e8a6
treeb7e8a5ee2be3a38322238fbb8543c43da82f42d8
parent7ed47167872c3aa5563e4b8b6ec47506c07acd9a
Add exception handling of RemoveAll

If a file is create or removed in the directory by another process while
calling RemoveAll on the direcotry, an ENOENT or ENOTEMPTY error
may occur. In that case the remove_all to be attempted again

Change-Id: Ic9600fb9f1ca097d9a4fae6f53cf94336c452e53
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
src/common/utils/file_util.cc