MCPcopy
hub / github.com/pallets/click / read

Method read

src/click/testing.py:51–52  ·  view source on GitHub ↗
(self, n: int = -1)

Source from the content-addressed store, hash-verified

49 return rv
50
51 def read(self, n: int = -1) -> bytes:
52 return self._echo(self._input.read(n))
53
54 def read1(self, n: int = -1) -> bytes:
55 return self._echo(self._input.read1(n)) # type: ignore

Callers 15

editMethod · 0.80
getcharFunction · 0.80
stopMethod · 0.80
_getcharMethod · 0.80
read1Method · 0.80
readableMethod · 0.80
_is_binary_readerFunction · 0.80
outputFunction · 0.80
test_path_optionFunction · 0.80
test_editFunction · 0.80
testFunction · 0.80
inoutFunction · 0.80

Calls 1

_echoMethod · 0.95

Tested by

no test coverage detected