cache

package
v0.7.6 Latest Latest
Warning

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

Go to latest
Published: May 14, 2020 License: BSD-3-Clause Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	LocalCacheBaseDir = filepath.Join(util.UserHomeDir(), ".mvs")
)

Functions

func Checksum

func Checksum(lang, mod, ver string) (string, error)

func Fetch

func Fetch(lang, mod, ver string) (err error)

func Load

func Load(lang, mod, ver string) (FS billy.Filesystem, err error)

func Outdir

func Outdir(lang, remote, owner, repo, tag string) string

func SetBaseDir

func SetBaseDir(basedir string)

func Write

func Write(lang, remote, owner, repo, tag string, FS billy.Filesystem) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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