MCPcopy Create free account
hub / github.com/apache/fory / _copy_pom_with_annotation_processor

Function _copy_pom_with_annotation_processor

ci/run_ci.py:182–190  ·  view source on GitHub ↗
(pom_path)

Source from the content-addressed store, hash-verified

180
181
182def _copy_pom_with_annotation_processor(pom_path):
183 pom_dir = os.path.dirname(pom_path)
184 fd, temp_pom = tempfile.mkstemp(
185 prefix="pom-static-processor-", suffix=".xml", dir=pom_dir
186 )
187 os.close(fd)
188 shutil.copyfile(pom_path, temp_pom)
189 _add_annotation_processor_path(temp_pom)
190 return temp_pom
191
192
193def _remove_file(path):

Callers 1

Calls 2

closeMethod · 0.45

Tested by

no test coverage detected