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

Method read

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

Source from the content-addressed store, hash-verified

204 yield line
205
206 def read(self):
207 with bz2.open(
208 self.path,
209 mode=self.mode,
210 compresslevel=self.compresslevel,
211 encoding=self.encoding,
212 errors=self.errors,
213 newline=self.newline,
214 ) as file_content:
215 return file_content.read()
216
217
218class XZFile(CompressedFile):

Callers

nothing calls this directly

Calls 2

openMethod · 0.80
readMethod · 0.45

Tested by

no test coverage detected