(self, buf: WriteBuffer)
| 5221 | ) |
| 5222 | |
| 5223 | def write(self, buf: WriteBuffer) -> None: |
| 5224 | write_tag(buf, SCC_REQUEST_MESSAGE) |
| 5225 | write_int_list(buf, self.scc_ids) |
| 5226 | write_int_bare(buf, len(self.import_errors)) |
| 5227 | for path, errors in self.import_errors.items(): |
| 5228 | write_str(buf, path) |
| 5229 | write_int_bare(buf, len(errors)) |
| 5230 | for error in errors: |
| 5231 | error.write(buf) |
| 5232 | write_int_bare(buf, len(self.mod_data)) |
| 5233 | for mod, (suppressed_deps_opts, raw_data) in self.mod_data.items(): |
| 5234 | write_str_bare(buf, mod) |
| 5235 | write_bytes(buf, suppressed_deps_opts) |
| 5236 | if raw_data is None: |
| 5237 | write_bool(buf, False) |
| 5238 | else: |
| 5239 | write_bool(buf, True) |
| 5240 | raw_data.write(buf) |
| 5241 | |
| 5242 | |
| 5243 | class ModuleResult: |
nothing calls this directly
no test coverage detected