Searched refs:dst_path (Results 1 – 4 of 4) sorted by relevance
/ohos5.0/foundation/ability/idl_tool/scripts/ |
H A D | idl.py | 44 is_exists = os.path.exists(input_arguments.dst_path) 47 os.makedirs(input_arguments.dst_path, 0o750, exist_ok=True) 57 for file_name in os.listdir(input_arguments.dst_path): 60 file_path = os.path.join(input_arguments.dst_path, file_name) 73 gen_language, "-d", input_arguments.dst_path, "-c", src_idl]
|
/ohos5.0/base/global/i18n/services/src/ |
H A D | hmos_timezone_mount.cpp | 125 bool copySingleFile(const std::filesystem::path& src_path, const std::filesystem::path& dst_path) in copySingleFile() argument 132 ensureDirectoryExists(dst_path.parent_path()); in copySingleFile() 133 …FO_I18N("copySingleFile: copy file: %{public}s, %{public}s", src_path.c_str(), dst_path.c_str()); in copySingleFile() 134 if (!FileCopy(src_path.string(), dst_path.string())) { in copySingleFile() 156 std::filesystem::path dst_path = std::filesystem::path(SAFE_PATH) / file; in CopyDataFile() local 157 if (!copySingleFile(src_path, dst_path)) { in CopyDataFile()
|
/ohos5.0/drivers/hdf_core/framework/tools/hdf_dev_eco_tool/command_line/hdi_operate/ |
H A D | hdi_add_handler.py | 167 if not os.path.exists(dst_path): 169 self._write_file(dst_path, file_info) 172 if not os.path.exists(dst_path): 174 self._write_file(dst_path, file_info) 410 if not os.path.exists(dst_path): 412 self._write_file(dst_path, file_info) 415 if not os.path.exists(dst_path): 417 self._write_file(dst_path, file_info) 418 temp_create = self.format_file_path(dst_path, root) 490 def _write_file(self, dst_path, file_info): argument [all …]
|
/ohos5.0/build/lite/ |
H A D | copy_files.py | 32 dst_path = os.path.join(dst, item) 35 shutil.copytree(src_path, dst_path, symlinks) 40 shutil.copy2(src_path, dst_path)
|