pascalkuthe / imara-diff

Reliably performant diffing
Apache License 2.0
106 stars 9 forks source link

If this could provide the line number that would be much better #8

Closed AurevoirXavier closed 1 year ago

pascalkuthe commented 1 year ago

Please provide more detailed description of what kind of API you are looking for. The current API can absolutly provide line numbers and is used to that effect in helix and gitoxide.

in general opening an issue without providing a description is basically never useful so please provide more details in the future if interacting with opensource projects

AurevoirXavier commented 1 year ago

Please provide more detailed description of what kind of API you are looking for. The current API can absolutly provide line numbers and is used to that effect in helix and gitoxide.

in general opening an issue without providing a description is basically never useful so please provide more details in the future if interacting with opensource projects

For example, check this GitHub diff https://github.com/pascalkuthe/imara-diff/pull/6/files.

Hope that we can have these nifty numbers.

image
pascalkuthe commented 1 year ago

you can totally compute those numbers with the current API but this is a low-level crate, not an application so you need to specify what API you are looking for