MCPcopy Index your code
hub / github.com/python/mypy / dump_file_data

Method dump_file_data

mypy/fswatcher.py:41–42  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

39 self._file_data: dict[str, FileData | None] = {}
40
41 def dump_file_data(self) -> dict[str, tuple[float, int, str]]:
42 return {k: v for k, v in self._file_data.items() if v is not None}
43
44 def set_file_data(self, path: str, data: FileData) -> None:
45 self._file_data[path] = data

Callers 1

cmd_statusMethod · 0.80

Calls 1

itemsMethod · 0.45

Tested by

no test coverage detected