Skip to content

Workhorse: Fix code nav relative path calculation

Igor Drozdov requested to merge id-fix-lsif-relative-path-calculation into master

What does this MR do and why?

Currently, only a single use case is handled:

  • Project root is a uri without a slash at the end

However, a project uri can have a slash or a slash+dot at the end:

  • file:///builds/igor.drozdov/libsass-maven-plugin/
  • file://C:\\repositories\\libsass-maven-plugin\\.

Let's use filepath.Rel to handle those edge cases.

Merge request reports