cache

package
v0.5.9 Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2020 License: BSD-3-Clause Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var LocalCacheBaseDir = ".hof/mods"

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