Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
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_files
Method · 0.80
test_read_binary
Method · 0.80
_test_files
Method · 0.80
Calls
2
locate
Method · 0.95
read_bytes
Method · 0.45
Tested by
3
_test_files
Method · 0.64
test_read_binary
Method · 0.64
_test_files
Method · 0.64