From 495a287f0bd9d3294b9ef7533dc8165527b29c0e Mon Sep 17 00:00:00 2001 From: Jay Conrod Date: Tue, 28 Apr 2020 11:58:33 -0400 Subject: [PATCH] doc/go1.15: add notes for GOMODCACHE, modcacheunzipinplace For #36568 For #34527 Change-Id: Ieea4b4a7644e9c957f48d08d2e172e39b571502f Reviewed-on: https://go-review.googlesource.com/c/go/+/230537 Reviewed-by: Michael Matloob Reviewed-by: Bryan C. Mills --- doc/go1.15.html | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/doc/go1.15.html b/doc/go1.15.html index 9d10092ffa..97479d1537 100644 --- a/doc/go1.15.html +++ b/doc/go1.15.html @@ -78,6 +78,26 @@ TODO directory of each individual test).

+

Module cache

+ +

+ The location of the module cache may now be set with + the GOMODCACHE environment variable. The default value of + GOMODCACHE is GOPATH[0]/pkg/mod, the location of the + module cache before this change. +

+ +

+ A workaround is now available for Windows "Access is denied" errors in + go commands that access the module cache, caused by external + programs concurrently scanning the file system (see + issue #36568). The workaround is + not enabled by default because it is not safe to use when Go versions lower + than 1.14.2 and 1.13.10 are running concurrently with the same module cache. + It can be enabled by explictly setting the environment variable + GODEBUG=modcacheunzipinplace=1. +

+

Runtime

-- 2.48.1