Exemple #1
0
 def read(self, size, offset, *args):
     return read_from_string(
         self.get_text(),
         size,
         offset,
     )
Exemple #2
0
 def read(self, path, size, offset, fh):
     return read_from_string(
         get_content(path),
         size,
         offset,
     )