MCPcopy Create free account
hub / github.com/numpy/numpy / dos2unix_one_dir

Function dos2unix_one_dir

numpy/distutils/line_endings.py:30–35  ·  view source on GitHub ↗
(modified_files, dir_name, file_names)

Source from the content-addressed store, hash-verified

28 print(file, 'ok')
29
30def dos2unix_one_dir(modified_files, dir_name, file_names):
31 for file in file_names:
32 full_path = os.path.join(dir_name, file)
33 file = dos2unix(full_path)
34 if file is not None:
35 modified_files.append(file)
36
37def dos2unix_dir(dir_name):
38 modified_files = []

Callers

nothing calls this directly

Calls 2

dos2unixFunction · 0.85
joinMethod · 0.45

Tested by

no test coverage detected