diff --git a/README_zh.md b/README_zh.md index abdb17ddd94507755ec6aea7480070992307ff8c..4cde33cdbdbbb4b189e798079a08b5815829c000 100644 --- a/README_zh.md +++ b/README_zh.md @@ -13,7 +13,7 @@ ## 简介 -文件访问接口提供基础文件IO操作能力,其具体包括用于管理文件的基本文件接口,管理目录的基本目录接口,获取文件信息的统计接口,流式读写文件的流式接口,以及文件锁接口。 +文件访问接口提供基础文件IO操作能力,其具体包括用于管理文件的基本文件接口,管理目录的基本目录接口,获取文件信息的统计接口,流式读写文件的流式接口,以及文件锁接口。测试git常用命令。 ### 系统架构 diff --git a/interfaces/kits/js/src/mod_fs/class_watcher/fs_watcher.cpp b/interfaces/kits/js/src/mod_fs/class_watcher/fs_watcher.cpp index 73dd1d8303a3f99aa1c7895778b85db513630b17..bbaf0b7b4cabdee66e1135d8f40b8cf6d0047648 100644 --- a/interfaces/kits/js/src/mod_fs/class_watcher/fs_watcher.cpp +++ b/interfaces/kits/js/src/mod_fs/class_watcher/fs_watcher.cpp @@ -48,6 +48,7 @@ FsResult FsWatcher::Stop() HILOGE("Failed to get watchEntity when stop."); return FsResult::Error(EINVAL); } + int ret = FsFileWatcher::GetInstance().StopNotify(watchEntity->watherInfo); if (ret != ERRNO_NOERR) { HILOGE("Failed to stopNotify errno:%{public}d", errno);