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

Function openpilotci_source

tools/lib/file_sources.py:35–36  ·  view source on GitHub ↗
(sr: SegmentRange, seg_idxs: list[int], fns: FileNames)

Source from the content-addressed store, hash-verified

33
34
35def openpilotci_source(sr: SegmentRange, seg_idxs: list[int], fns: FileNames) -> dict[int, str]:
36 return eval_source({seg: [get_url(sr.route_name, seg, fn) for fn in fns] for seg in seg_idxs})
37
38
39def comma_car_segments_source(sr: SegmentRange, seg_idxs: list[int], fns: FileNames) -> dict[int, str]:

Callers

nothing calls this directly

Calls 2

get_urlFunction · 0.90
eval_sourceFunction · 0.85

Tested by

no test coverage detected