Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cue/load: remove unused code from the modules refactors
Recent commits have added support for fetching, caching, and loading CUE modules via the cue/load API. Moreover, there were refactors such as https://cuelang.org/cl/1175995 which taught cue/load how to reuse the same packages as cmd/cue such as mod/modpkgload. After these changes, we had left a number of types and funcs behind. Remove them, and since module.go would now have just one Config method, move that into config.go as it is still under 500 lines of code. Signed-off-by: Daniel Martí <mvdan@mvdan.cc> Change-Id: I0b9ea0ef535ef19d0a4ffb736580fd3f70ab5ee7 Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/1177663 Unity-Result: CUE porcuepine <cue.porcuepine@gmail.com> Reviewed-by: Roger Peppe <rogpeppe@gmail.com> TryBot-Result: CUEcueckoo <cueckoo@gmail.com>
- Loading branch information