MCPcopy Create free account
hub / github.com/comaps/comaps / write

Method write

tools/python/maps_generator/generator/env.py:73–75  ·  view source on GitHub ↗
(out_path: AnyStr, version: AnyStr)

Source from the content-addressed store, hash-verified

71
72 @staticmethod
73 def write(out_path: AnyStr, version: AnyStr):
74 with open(os.path.join(out_path, settings.VERSION_FILE_NAME), "w") as f:
75 f.write(str(version))
76
77 @staticmethod
78 def read(version_path: AnyStr) -> int:

Callers 15

write_xml_fileMethod · 0.45
writeFunction · 0.45
road_runner.pyFile · 0.45
check_androidFunction · 0.45
make_languages_hppFunction · 0.45
mainFunction · 0.45
download_fileFunction · 0.45
progress_barFunction · 0.45
write_formattedMethod · 0.45
write_kmlMethod · 0.45

Calls 1

joinMethod · 0.45

Tested by 4

write_xml_fileMethod · 0.36
dispatch_responseMethod · 0.36
setUpMethod · 0.36
UNIT_TESTFunction · 0.36