MCPcopy Create free account
hub / github.com/aboutcode-org/scancode-toolkit / run_scan

Function run_scan

etc/scripts/scanserv.py:38–42  ·  view source on GitHub ↗
(location, **kwargs)

Source from the content-addressed store, hash-verified

36
37
38def run_scan(location, **kwargs):
39 from scancode import cli
40
41 pretty = kwargs.pop("pretty", True)
42 return as_json(cli.run_scan(location, **kwargs), pretty=pretty)
43
44
45if __name__ == "__channelexec__":

Callers 1

scanserv.pyFile · 0.70

Calls 2

as_jsonFunction · 0.85
popMethod · 0.45

Tested by

no test coverage detected