You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 9, 2020. It is now read-only.
- main - Read and use env var `DEPCACHEDIR` for instantiating dep context.
- context
- Add field `Cachedir` to struct `Ctx`. This holds the value of env var
`DEPCACHEDIR`.
- Use `Ctx.Cachedir` while instantiating `gps.SourceMgr` if present, fallback
to `$GOPATH/pkg/dep` otherwise.
- source_manager - Add a getter func `Cachedir` to facilitate testing in
`context_test.go`.
- context_test - Add test to check `gps.SourceMgr` is instantiated with
appropriate `cachedir`.
- integration_test - Add test to check environment variable `DEPCACHEDIR` is
loaded and used if present.
0 commit comments