MCPcopy Create free account
hub / github.com/Facets-cloud/flow / versionCache

Struct versionCache

internal/app/release.go:43–46  ·  view source on GitHub ↗

versionCache is the on-disk shape of the cache file at ~/.flow/.version-cache.json.

Source from the content-addressed store, hash-verified

41// versionCache is the on-disk shape of the cache file at
42// ~/.flow/.version-cache.json.
43type versionCache struct {
44 CheckedAt time.Time `json:"checkedAt"`
45 LatestVersion string `json:"latestVersion"`
46}
47
48// LatestRelease returns the latest tagged version of flow on GitHub
49// as a tag string (e.g. "v0.1.0-alpha.3"), or "" if the lookup

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected