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

Function generated_scanner

src/summarycode/generated.py:71–77  ·  view source on GitHub ↗
(location, **kwargs)

Source from the content-addressed store, hash-verified

69
70
71def generated_scanner(location, **kwargs):
72 is_generated = False
73 for _clue in get_generated_code_hint(location):
74 # TODO: consider returning the "clue"
75 is_generated = True
76 break
77 return dict(is_generated=is_generated)
78
79
80GENERATED_KEYWORDS_LOWERED = tuple(g.lower() for g in (

Callers

nothing calls this directly

Calls 1

get_generated_code_hintFunction · 0.85

Tested by

no test coverage detected