versionCache is the on-disk shape of the cache file at ~/.flow/.version-cache.json.
| 41 | // versionCache is the on-disk shape of the cache file at |
| 42 | // ~/.flow/.version-cache.json. |
| 43 | type 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 |
nothing calls this directly
no outgoing calls
no test coverage detected