golang/go

x/tools/go/vcs: FromDir doesn't work with srcRoot = "/"

hectorj opened this issue · 3 comments

_, _, err := vcs.FromDir("/whatever/", "/")

gives the error directory "/whatever" is outside source root "/", which is incorrect

Thanks for the report. This package has been deprecated in #57051 and won't receive further development, so closing this as not planned.