MCPcopy Index your code
hub / github.com/python/cpython / add_files_cli

Function add_files_cli

Tools/c-analyzer/c_common/scriptutil.py:280–285  ·  view source on GitHub ↗
(parser, *, excluded=None, nargs=None)

Source from the content-addressed store, hash-verified

278
279
280def add_files_cli(parser, *, excluded=None, nargs=None):
281 process_files = add_file_filtering_cli(parser, excluded=excluded)
282 parser.add_argument('filenames', nargs=nargs or '+', metavar='FILENAME')
283 return [
284 process_files,
285 ]
286
287
288def add_file_filtering_cli(parser, *, excluded=None):

Callers 5

_cli_checkFunction · 0.90
_cli_analyzeFunction · 0.90
_cli_parseFunction · 0.90
_cli_parseFunction · 0.90
_cli_preprocessFunction · 0.90

Calls 2

add_file_filtering_cliFunction · 0.85
add_argumentMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…