MCPcopy Create free account
hub / github.com/Graphify-Labs/graphify / _program

Function _program

tests/test_cobol_extractor.py:350–354  ·  view source on GitHub ↗
(name: str, *body: str)

Source from the content-addressed store, hash-verified

348
349
350def _program(name: str, *body: str) -> str:
351 return "".join(
352 f" {line}\n"
353 for line in ("IDENTIFICATION DIVISION.", f"PROGRAM-ID. {name}.", "PROCEDURE DIVISION.", *body)
354 )
355
356
357def _copybook(*body: str) -> str:

Calls 1

joinMethod · 0.45

Tested by

no test coverage detected