summaryrefslogtreecommitdiff
path: root/tests/piece-table-insert.c
AgeCommit message (Collapse)Author
9 dayspiece-table: `piece-table-to-string` add size argEkaitz Zarraga
9 dayspiece-table: Don't allocate in piece_table_to_stringEkaitz Zarraga
`piece_table_to_string` now receives a buffer and we also provide a function that returns the length of the piece table. TODO: the `piece_table_to_string` adds null termination, that makes the buffer needed `piece_table_length(pt) + 1`. This we should document or do more obvious.
10 daysRestart!Ekaitz Zarraga
2024-03-09src: piece-table: Add insert + tests for itEkaitz Zarraga