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