MCPcopy
hub / github.com/commaai/openpilot / main

Function main

tools/auto_source.py:6–13  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

4
5
6def main():
7 if len(sys.argv) != 2:
8 print("Usage: python auto_source.py <log_path>")
9 sys.exit(1)
10
11 log_path = sys.argv[1]
12 lr = LogReader(log_path, default_mode=ReadMode.AUTO, sort_by_time=True)
13 print("\n".join(lr.logreader_identifiers))
14
15
16if __name__ == "__main__":

Callers 1

auto_source.pyFile · 0.70

Calls 2

LogReaderClass · 0.90
joinMethod · 0.80

Tested by

no test coverage detected