MCPcopy
hub / github.com/Blizzard/s2client-proto / proto_files

Function proto_files

setup.py:28–33  ·  view source on GitHub ↗

Yields the path of all .proto files under the root.

(root)

Source from the content-addressed store, hash-verified

26
27
28def proto_files(root):
29 """Yields the path of all .proto files under the root."""
30 for (dirpath, _, filenames) in os.walk(root):
31 for filename in filenames:
32 if filename.endswith('.proto'):
33 yield os.path.join(dirpath, filename)
34
35
36def compile_proto(source, python_out, proto_path):

Callers 1

runMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected