Commit graph

8 commits

Author SHA1 Message Date
Jacob Kim
ab96f9529b add a discriminate union 2025-07-02 15:37:59 -07:00
Jacob Kim
490ec4813a create a helper function to check if a diff is FIM 2025-07-01 16:57:33 -07:00
Jacob Kim
08a26dabb8 code cleanup 2025-06-26 16:10:08 -07:00
Jacob Kim
03666f3b96 corrrectly calculate offset 2025-06-25 16:57:00 -07:00
Jacob Kim
b690439222 return renderable diff string and the corresponding offset as well 2025-06-24 12:38:07 -07:00
Jacob Kim
08de67f369 add a function to get renderable diffs with +, - gutter annotations 2025-06-20 16:14:35 -07:00
Jacob Kim
69f3a54097 remove unnecessary slice 2025-06-16 14:40:16 -07:00
Jacob Kim
a6982b9e53 add a function to create a renderable diff given DiffLines 2025-06-16 14:39:23 -07:00