(offset int64)
| 71 | } |
| 72 | |
| 73 | func (lv *LogView) isLineMatch(offset int64) bool { |
| 74 | if lv.MatchRe == nil { |
| 75 | return true |
| 76 | } |
| 77 | lineData, err := lv.readLineAt(offset) |
| 78 | if err != nil { |
| 79 | return false |
| 80 | } |
| 81 | return lv.MatchRe.Match(lineData) |
| 82 | } |
| 83 | |
| 84 | func (lv *LogView) NextLinePtr(linePtr *LinePtr) (*LinePtr, error) { |
| 85 | if linePtr == nil { |
no test coverage detected