MCPcopy Create free account
hub / github.com/pytorch/pytorch / build_file_set

Function build_file_set

scripts/release_notes/classifier.py:44–46  ·  view source on GitHub ↗
(all_files: List[Path], max_len: int)

Source from the content-addressed store, hash-verified

42
43
44def build_file_set(all_files: List[Path], max_len: int):
45 truncated_files = [truncate_file(file, max_len) for file in all_files]
46 return set(truncated_files)
47
48
49@dataclass

Callers 1

get_file_mapFunction · 0.85

Calls 1

truncate_fileFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…