cache

package
v0.6.7-alpha.1 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2022 License: BSD-3-Clause Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const CustomCacheBaseDirVar = "HOF_CACHE"

Variables

This section is empty.

Functions

func Cache

func Cache(url, ver string) (billy.Filesystem, error)

func Checksum

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

func FetchRepoToMem

func FetchRepoToMem(url, ver string) (billy.Filesystem, error)

func Load

func Load(url, ver string) (billy.Filesystem, error)

func Outdir

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

func Read

func Read(url, ver string) (FS billy.Filesystem, err error)

func SetBaseDir

func SetBaseDir(basedir string)

func Write

func Write(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