diff --git a/src/cmd/go/internal/cacheprog/cacheprog.go b/src/cmd/go/internal/cacheprog/cacheprog.go index 9379636e5ab662..73a0aba0f45e46 100644 --- a/src/cmd/go/internal/cacheprog/cacheprog.go +++ b/src/cmd/go/internal/cacheprog/cacheprog.go @@ -122,5 +122,7 @@ type Response struct { // DiskPath is the absolute path on disk of the body corresponding to a // "get" (on cache hit) or "put" request's ActionID. + // The filename in DiskPath should not contain a file extension to ensure + // compatibility with tools that filter files based on extensions. DiskPath string `json:",omitempty"` }