package
0.13.1
Repository: https://github.com/jeffzhangme/glide.git
Documentation: pkg.go.dev

# Functions

Key generates a cache key based on a url or scp string.
Location returns the location of the cache.
Lock locks a particular key name.
MemCurrent is used to get the current version in use.
MemLatest returns the latest, that is most recent, semver release.
MemPut put a version into the in memory cache for a name.
MemSetCurrent is used to set the current version in use.
MemTouch notes if a name has been looked at.
MemTouched returns true if the cache was touched for a name.
RepoData retrieves cached information about a repo.
SaveRepoData stores data about a repo in the Glide cache.
Setup creates the cache location.
SetupReset resets if setup has been completed.
SystemLock starts a system rather than application lock.
SystemUnlock removes the system wide Glide cache lock.
Unlock unlocks a particular key name.

# Variables

Enabled sets if the cache is globally enabled.
ErrCacheDisabled is returned with the cache is disabled.

# Structs

RepoInfo holds information about a repo.