(p *Project)
| 561 | } |
| 562 | |
| 563 | func cacheFilePath(p *Project) string { |
| 564 | return filepath.Join(".cache", "repos", p.Owner, p.Repo+".json") |
| 565 | } |
| 566 | |
| 567 | func readCachedMeta(p *Project) (*RepoMeta, error) { |
| 568 | data, err := os.ReadFile(cacheFilePath(p)) |
no outgoing calls
no test coverage detected