delve/pkg/locspec
André Eriksson e72d9b3372
pkg/locspec: support exact match in SubstitutePath (#3075)
In order to support substituting a single file within
a larger package, and not substituting a directory wholesale,
this commit introduces the ability for SubstitutePath
to replace individual file paths if there is an exact match.

This behavior is backwards-compatible with the previous
configuration.

Fixes #3074
2022-07-25 09:57:31 -07:00
..
doc.go *: run go1.19 'go fmt' on everything and fix problems (#3031) 2022-06-17 10:08:11 -07:00
locations_test.go cmd/dlv: Fix trace output (#2038) 2020-05-13 08:38:10 +02:00
locations.go pkg/locspec: support exact match in SubstitutePath (#3075) 2022-07-25 09:57:31 -07:00