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

Function generate_test_file_name

ci/extract_cpp_doc_code.py:184–188  ·  view source on GitHub ↗
(doc_file: str, block_index: int)

Source from the content-addressed store, hash-verified

182
183
184def generate_test_file_name(doc_file: str, block_index: int) -> str:
185 # Generate a test file name from documentation file and block index.
186
187 base_name = Path(doc_file).stem
188 return f"doc_test_{base_name}_{block_index}.cc"
189
190
191def process_markdown_file(md_path: Path, output_dir: Path) -> List[Path]:

Callers 1

process_markdown_fileFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected