Home
last modified time | relevance | path

Searched refs:copyfile_req (Results 1 – 5 of 5) sorted by relevance

/ohos5.0/foundation/filemanagement/file_api/interfaces/kits/cj/src/
H A Dmove_file.cpp107 uv_fs_t copyfile_req; in CopyAndDeleteFile() local
108 … ret = uv_fs_copyfile(nullptr, &copyfile_req, src.c_str(), dest.c_str(), MODE_FORCE_MOVE, nullptr); in CopyAndDeleteFile()
109 uv_fs_req_cleanup(&copyfile_req); in CopyAndDeleteFile()
H A Dcopy_file.cpp80 std::unique_ptr<uv_fs_t, decltype(CommonFunc::FsReqCleanup)*> copyfile_req = { in IsAllPath()
82 if (!copyfile_req) { in IsAllPath()
86 int ret = uv_fs_copyfile(nullptr, copyfile_req.get(), srcFile.path.get(), destFile.path.get(), in IsAllPath()
/ohos5.0/foundation/filemanagement/user_file_service/utils/
H A Dfile_util.h170 uv_fs_t copyfile_req; in CopyAndDeleteFile() local
171 … ret = uv_fs_copyfile(nullptr, &copyfile_req, src.c_str(), dest.c_str(), MODE_FORCE_MOVE, nullptr); in CopyAndDeleteFile()
172 uv_fs_req_cleanup(&copyfile_req); in CopyAndDeleteFile()
/ohos5.0/foundation/filemanagement/file_api/interfaces/kits/js/src/mod_fs/properties/
H A Dmove.cpp116 uv_fs_t copyfile_req; in CopyAndDeleteFile() local
117 … ret = uv_fs_copyfile(nullptr, &copyfile_req, src.c_str(), dest.c_str(), MODE_FORCE_MOVE, nullptr); in CopyAndDeleteFile()
118 uv_fs_req_cleanup(&copyfile_req); in CopyAndDeleteFile()
H A Dcopy_file.cpp47 std::unique_ptr<uv_fs_t, decltype(CommonFunc::fs_req_cleanup)*> copyfile_req = { in IsAllPath()
49 if (!copyfile_req) { in IsAllPath()
53 int ret = uv_fs_copyfile(nullptr, copyfile_req.get(), srcFile.path.get(), destFile.path.get(), in IsAllPath()