cache

package
v0.6.8-beta.1 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2023 License: BSD-3-Clause Imports: 15 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 FindBestRef

func FindBestRef(url, ver string) (_, _, _ string, err error)

func Load

func Load(url, ver string) (_ billy.Filesystem, err 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