MCPcopy
hub / github.com/pandas-dev/pandas / get_source_files

Function get_source_files

web/pandas_web.py:410–416  ·  view source on GitHub ↗

Generate the list of files present in the source directory.

(source_path: pathlib.Path)

Source from the content-addressed store, hash-verified

408
409
410def get_source_files(source_path: pathlib.Path) -> typing.Generator[str, None, None]:
411 """
412 Generate the list of files present in the source directory.
413 """
414 for path in source_path.rglob("*"):
415 if path.is_file():
416 yield path.relative_to(source_path)
417
418
419def extend_base_template(content: str, base_template: str) -> str:

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected