MCPcopy Index your code
hub / github.com/RustPython/RustPython / read_binary

Method read_binary

Lib/importlib/metadata/__init__.py:316–317  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

314 return self.locate().read_text(encoding=encoding)
315
316 def read_binary(self) -> bytes:
317 return self.locate().read_bytes()
318
319 def locate(self) -> SimplePath:
320 """Return a path-like object for this path"""

Callers 3

_test_filesMethod · 0.80
test_read_binaryMethod · 0.80
_test_filesMethod · 0.80

Calls 2

locateMethod · 0.95
read_bytesMethod · 0.45

Tested by 3

_test_filesMethod · 0.64
test_read_binaryMethod · 0.64
_test_filesMethod · 0.64