Files
releases/topdown
Patrick East 94cd44ed4e topdown: Improve pretty trace location details
Previously we had a hard set width for location info in pretty trace
outputs. This changes to use a dynamic width up to a reasonable max
and then starts to shorten paths as possible by swapping in `...` for
the longest common substring of all paths.

To get the longest substring this brings in a couple files from
https://github.com/vmarkovtsev/go-lcss which implements an efficient
algorithm for it (rather than us implementing something fancy from
scratch). It's pretty isolated and is unlikely to need any updates
over time so the maintenance should be low.

Fixes: #2143
Signed-off-by: Patrick East <east.patrick@gmail.com>
2020-04-02 11:10:13 -07:00
..
2018-07-10 13:06:34 -07:00
2018-07-10 13:06:34 -07:00
2019-09-27 09:55:11 -04:00
2020-03-26 04:57:12 -07:00
2020-03-01 16:31:18 -08:00
2017-07-10 08:51:38 -07:00
2018-02-17 08:21:04 -08:00
2017-11-09 09:07:48 -08:00
2020-02-24 14:03:53 -08:00
2020-02-13 11:31:50 -08:00
2020-03-26 04:57:12 -07:00
2020-01-28 17:41:19 -08:00
2020-04-01 13:59:13 -07:00
2020-04-01 13:59:13 -07:00
2018-01-24 14:10:43 -08:00