From cc6ea57735bc77d86a8fe526b4b69d072f11eac6 Mon Sep 17 00:00:00 2001 From: yangbiao59 Date: Tue, 5 Aug 2025 06:53:22 +0000 Subject: [PATCH] =?UTF-8?q?1.1copy=E8=B0=83=E6=95=B4=E7=BB=93=E6=9E=84?= =?UTF-8?q?=E4=BD=93=E4=BD=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: yangbiao59 --- interfaces/kits/js/src/mod_fs/properties/copy.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/interfaces/kits/js/src/mod_fs/properties/copy.cpp b/interfaces/kits/js/src/mod_fs/properties/copy.cpp index be96aeace..ff75058fc 100644 --- a/interfaces/kits/js/src/mod_fs/properties/copy.cpp +++ b/interfaces/kits/js/src/mod_fs/properties/copy.cpp @@ -58,6 +58,11 @@ std::recursive_mutex Copy::mutex_; std::map> Copy::jsCbMap_; uint32_t g_apiCompatibleVersion = 0; +struct NameList { + struct dirent **namelist = { nullptr }; + int direntNum = 0; +}; + tuple Copy::GetCopySignalFromOptionArg(napi_env env, const NFuncArg &funcArg) { if (funcArg.GetArgc() < NARG_CNT::THREE) { @@ -131,11 +136,6 @@ int Copy::MakeDir(const string &path) return ERRNO_NOERR; } -struct NameList { - struct dirent **namelist = { nullptr }; - int direntNum = 0; -}; - std::shared_ptr Copy::RegisterListener(napi_env env, const std::shared_ptr &infos) { auto callback = CreateSharedPtr(env, infos->listener); -- Gitee