MCPcopy Index your code
hub / github.com/SourceCode-AI/aura / process_scans

Function process_scans

files/dataset_scripts/convert2sqlite.py:148–152  ·  view source on GitHub ↗
(dataset_path, cursor)

Source from the content-addressed store, hash-verified

146
147
148def process_scans(dataset_path, cursor):
149 with open(dataset_path, "r") as fd:
150 for line in fd:
151 if line := line.strip():
152 add_scan(rapidjson.loads(line), cursor)
153
154
155def main(name: str, dataset_path):

Callers 1

mainFunction · 0.85

Calls 2

add_scanFunction · 0.85
stripMethod · 0.80

Tested by

no test coverage detected