readerat implements io.ReaderAt in a completely stateless manner by opening the referenced file for each call to ReadAt.
| 28 | // readerat implements io.ReaderAt in a completely stateless manner by opening |
| 29 | // the referenced file for each call to ReadAt. |
| 30 | type sizeReaderAt struct { |
| 31 | size int64 |
| 32 | fp *os.File |
| 33 | } |
| 34 | |
| 35 | // OpenReader creates ReaderAt from a file |
| 36 | func OpenReader(p string) (content.ReaderAt, error) { |
nothing calls this directly
no outgoing calls
no test coverage detected