2 Commits

Author SHA1 Message Date
Serge Zaitsev
177b4914c5 add go mod download vcs provider 2019-10-02 09:41:39 +02:00
Serge Zaitsev
f906c8009a add module invalidation via DELETE request 2019-10-01 08:51:44 +02:00

View File

@@ -82,6 +82,6 @@ func (g *goVCS) download(ctx context.Context, version string) error {
}
func (g *goVCS) file(name string) ([]byte, error) {
path := filepath.Join(g.dir, "pkg", "mod", "cache", "download", encodeBangs(g.module), "@v", name)
path := filepath.Join(g.dir, "pkg", "mod", "cache", "download", g.module, "@v", name)
return ioutil.ReadFile(path)
}