MCPcopy Create free account
hub / github.com/bfbbdecomp/bfbb / main

Function main

tools/transform_dep.py:63–80  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

61
62
63def main() -> None:
64 parser = argparse.ArgumentParser(
65 description="""Transform a .d file from Wine paths to normal paths"""
66 )
67 parser.add_argument(
68 "d_file",
69 help="""Dependency file in""",
70 )
71 parser.add_argument(
72 "d_file_out",
73 help="""Dependency file out""",
74 )
75 args = parser.parse_args()
76
77 output = import_d_file(args.d_file)
78
79 with open(args.d_file_out, "w", encoding="UTF-8") as f:
80 f.write(output)
81
82
83if __name__ == "__main__":

Callers 1

transform_dep.pyFile · 0.70

Calls 2

import_d_fileFunction · 0.85
writeMethod · 0.45

Tested by

no test coverage detected