(self)
| 215 | return name |
| 216 | |
| 217 | def getBytes(self): |
| 218 | exists, error = self.existsWithError() |
| 219 | if not exists: |
| 220 | raise DataApiError('unable to get file {} - {}'.format(self.path, error)) |
| 221 | f = open(self.path, 'rb') |
| 222 | bts = f.read() |
| 223 | f.close() |
| 224 | return bts |
| 225 | |
| 226 | def getString(self): |
| 227 | exists, error = self.existsWithError() |
nothing calls this directly
no test coverage detected