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

Function scan_worker

aura/commands.py:68–73  ·  view source on GitHub ↗
(item: ScanLocation)

Source from the content-addressed store, hash-verified

66
67
68def scan_worker(item: ScanLocation) -> Generator[Detection, None, None]:
69 if not item.location.exists():
70 logger.error(f"Location '{item.str_location}' does not exists. Skipping")
71 yield []
72 else:
73 yield from Analyzer.run(item)
74
75
76def scan_uri(uri, metadata: Union[list, dict]=None, download_only: bool=False) -> List[Detection]:

Callers 2

check_requirementFunction · 0.85
scan_uriFunction · 0.85

Calls 2

existsMethod · 0.45
runMethod · 0.45

Tested by

no test coverage detected