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

Function versionCachePath

internal/app/release.go:64–70  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

62}
63
64func versionCachePath() string {
65 root, err := flowRoot()
66 if err != nil {
67 return ""
68 }
69 return filepath.Join(root, ".version-cache.json")
70}
71
72func readCachedVersion(path string) (string, bool) {
73 raw, err := os.ReadFile(path)

Callers 1

LatestReleaseFunction · 0.85

Calls 1

flowRootFunction · 0.85

Tested by

no test coverage detected