]> Cypherpunks repositories - gostls13.git/commit
cmd/go/internal/modfetch: update comment referring to old Import function
authorDmitri Shuralyov <dmitshur@golang.org>
Mon, 11 Mar 2019 13:15:38 +0000 (09:15 -0400)
committerDmitri Shuralyov <dmitshur@golang.org>
Thu, 21 Mar 2019 20:53:37 +0000 (20:53 +0000)
commit4a52267574db7b04915c6dc3648cfd8255844dd3
tree378c562c31905677687d2b37f34625f2a3c21493
parent686b8142290a1eeba5a430b69be2c43273042dd7
cmd/go/internal/modfetch: update comment referring to old Import function

The Import function was moved from modfetch/repo.go to modload/import.go
in vgo CL 122880, and its semantics have changed in vgo CL 123095 to do
more than just searching for a module. Both of these changes were ported
to cmd/go in CL 123576.

Delete the mention of the old Import function from the modfetch/repo.go
comment, since what it refers to does not exist anymore.

Change-Id: I6dc6984128152cf9611d30fbc4e6418e91a7641f
Reviewed-on: https://go-review.googlesource.com/c/go/+/166597
Reviewed-by: Jay Conrod <jayconrod@google.com>
src/cmd/go/internal/modfetch/repo.go