A LineArray simply stores and array of lines and makes it easy to insert and delete in it
| 71 | // A LineArray simply stores and array of lines and makes it easy to insert |
| 72 | // and delete in it |
| 73 | type LineArray struct { |
| 74 | lines []Line |
| 75 | Endings FileFormat |
| 76 | initsize uint64 |
| 77 | lock sync.Mutex |
| 78 | } |
| 79 | |
| 80 | // Append efficiently appends lines together |
| 81 | // It allocates an additional 10000 lines if the original estimate |
nothing calls this directly
no outgoing calls
no test coverage detected