MCPcopy Create free account
hub / github.com/coreboot/coreboot / update_struct

Function update_struct

util/lint/checkpatch_json.py:19–28  ·  view source on GitHub ↗
( file_path, msg_output, line_number)

Source from the content-addressed store, hash-verified

17list_temp = {}
18
19def update_struct( file_path, msg_output, line_number):
20 if file_path not in list_temp:
21 list_temp[file_path] = []
22 list_temp[file_path].append({
23 "robot_id" : "checkpatch",
24 "robot_run_id" : sys.argv[3],
25 "url" : sys.argv[4],
26 "line" : line_number,
27 "message" : "`" + msg_output + "`",
28 })
29
30def parse_file(input_file):
31 fp = open (input_file, "r")

Callers 1

parse_fileFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected