MCPcopy Create free account
hub / github.com/defold/defold / to_protobuf

Function to_protobuf

engine/docs/script_doc.py:685–688  ·  view source on GitHub ↗
(s, output_file)

Source from the content-addressed store, hash-verified

683
684
685def to_protobuf(s, output_file):
686 msg = parse_document(s, output_file)
687 with open(output_file, "w") as f:
688 f.write(str(msg))
689
690def to_json(s, output_file):
691 msg = parse_document(s, output_file)

Callers 1

script_doc.pyFile · 0.85

Calls 2

parse_documentFunction · 0.85
writeMethod · 0.45

Tested by

no test coverage detected