modfetch

package
v1.1.0-beta1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 5, 2022 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrNoNeedToDownload = errors.New("no need to download")
)
View Source
var (
	GOMODCACHE = env.GOMODCACHE()
)

Functions

func DownloadCachePath

func DownloadCachePath(mod module.Version) (string, error)

func Get

func Get(modPath string, noCache ...bool) (mod module.Version, isClass bool, err error)

func InModCachePath

func InModCachePath(path string) bool

func ModCachePath

func ModCachePath(mod module.Version) (string, error)

Types

type ExecCmdError

type ExecCmdError = modload.ExecCmdError

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL