MCPcopy Index your code
hub / github.com/RustPython/RustPython / files

Function files

Lib/importlib/metadata/__init__.py:1014–1020  ·  view source on GitHub ↗

Return a list of files for the named package. :param distribution_name: The name of the distribution package to query. :return: List of files composing the distribution.

(distribution_name: str)

Source from the content-addressed store, hash-verified

1012
1013
1014def files(distribution_name: str) -> Optional[List[PackagePath]]:
1015 """Return a list of files for the named package.
1016
1017 :param distribution_name: The name of the distribution package to query.
1018 :return: List of files composing the distribution.
1019 """
1020 return distribution(distribution_name).files
1021
1022
1023def requires(distribution_name: str) -> Optional[List[str]]:

Callers 12

test_filesMethod · 0.90
test_filesMethod · 0.90
test_read_textMethod · 0.90
test_file_hash_reprMethod · 0.90
test_files_dist_infoMethod · 0.90
test_files_egg_infoMethod · 0.90
test_filesMethod · 0.90
test_filesMethod · 0.90
test_read_textMethod · 0.90
test_file_hash_reprMethod · 0.90
test_files_dist_infoMethod · 0.90
test_files_egg_infoMethod · 0.90

Calls 1

distributionFunction · 0.85

Tested by 12

test_filesMethod · 0.72
test_filesMethod · 0.72
test_read_textMethod · 0.72
test_file_hash_reprMethod · 0.72
test_files_dist_infoMethod · 0.72
test_files_egg_infoMethod · 0.72
test_filesMethod · 0.72
test_filesMethod · 0.72
test_read_textMethod · 0.72
test_file_hash_reprMethod · 0.72
test_files_dist_infoMethod · 0.72
test_files_egg_infoMethod · 0.72