MCPcopy
hub / github.com/sphinx-doc/sphinx / dump

Method dump

sphinx/search/__init__.py:179–180  ·  view source on GitHub ↗
(self, data: Any, f: _WritableStream[str])

Source from the content-addressed store, hash-verified

177 return json.loads(data)
178
179 def dump(self, data: Any, f: _WritableStream[str]) -> None:
180 f.write(self.dumps(data))
181
182 def load(self, f: _ReadableStream[str]) -> Any:
183 return self.loads(f.read())

Callers

nothing calls this directly

Calls 2

dumpsMethod · 0.95
writeMethod · 0.45

Tested by

no test coverage detected