| 589 | class FileSource { |
| 590 | public: |
| 591 | explicit FileSource(RawFile& f) : buf_(aligned_block()), f_(f) {} |
| 592 | bool ok() const { return buf_ != nullptr; } |
| 593 | std::string error() const { return buf_ ? f_.error() : std::string("out of memory for the read buffer"); } |
| 594 | SessionError kind() const { return buf_ ? f_.kind() : SessionError::memory; } |
nothing calls this directly
no test coverage detected