]> Cypherpunks repositories - gostls13.git/commit
cmd/go/internal/get: more efficient path prefix checking code
authorDavid Symonds <dsymonds@golang.org>
Wed, 20 Jun 2018 02:45:48 +0000 (12:45 +1000)
committerDavid Symonds <dsymonds@golang.org>
Mon, 20 Aug 2018 21:54:45 +0000 (21:54 +0000)
commitf76eaeb2c840c76c48dc53b834e9a0e005a70421
treec5a63e9b04ae97536b701152c56650ea6cbd8e33
parenta1addf15df95418d86fc0d495bc9aa85590d5724
cmd/go/internal/get: more efficient path prefix checking code

Splitting the string is unnecessary.

Change-Id: I02796cb91602c1b9bf22721b985cd41b18cc92f2
Reviewed-on: https://go-review.googlesource.com/119936
Run-TryBot: David Symonds <dsymonds@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Rob Pike <r@golang.org>
src/cmd/go/internal/get/vcs.go