(i *repo.IndexFile, out string, json bool)
| 115 | } |
| 116 | |
| 117 | func writeIndexFile(i *repo.IndexFile, out string, json bool) error { |
| 118 | if json { |
| 119 | return i.WriteJSONFile(out, 0o644) |
| 120 | } |
| 121 | return i.WriteFile(out, 0o644) |
| 122 | } |
no test coverage detected
searching dependent graphs…