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

Method process_codebase

src/formattedcode/output_csv.py:67–77  ·  view source on GitHub ↗
(self, codebase, csv, **kwargs)

Source from the content-addressed store, hash-verified

65 return csv
66
67 def process_codebase(self, codebase, csv, **kwargs):
68 warnings.warn(
69 DEPRECATED_MSG,
70 DeprecationWarning,
71 stacklevel=1
72 )
73 import click
74 click.secho('[DEPRECATION WARNING] ' + DEPRECATED_MSG, err=True)
75
76 results = self.get_files(codebase, **kwargs)
77 write_csv(results, csv)
78
79
80def write_csv(results, output_file):

Callers

nothing calls this directly

Calls 1

write_csvFunction · 0.70

Tested by

no test coverage detected