MCPcopy Create free account
hub / github.com/EntilZha/PyFunctional / read

Method read

functional/io.py:67–77  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

65 yield line
66
67 def read(self):
68 # pylint: disable=no-member
69 with builtins.open(
70 self.path,
71 mode=self.mode,
72 buffering=self.buffering,
73 encoding=self.encoding,
74 errors=self.errors,
75 newline=self.newline,
76 ) as file_content:
77 return file_content.read()
78
79
80class CompressedFile(ReusableFile):

Callers

nothing calls this directly

Calls 2

openMethod · 0.80
readMethod · 0.45

Tested by

no test coverage detected