Function
writeNotices
(path string, notices []CopyrightNotice)
Source from the content-addressed store, hash-verified
| 462 | } |
| 463 | |
| 464 | func writeNotices(path string, notices []CopyrightNotice) { |
| 465 | s := "" |
| 466 | for i, n := range notices { |
| 467 | s += "# : " + strconv.Itoa(i) + "\n" + n.String() |
| 468 | } |
| 469 | writeFile(path, s) |
| 470 | } |
| 471 | |
| 472 | func (n CopyrightNotice) String() string { |
| 473 | return fmt.Sprintf("Type : %v\nHTML : %v\nName : %v\nModule : %v\nURL : %v\nCopyright: %v\nRepoURL : %v\nRepoCopys: %v\n\n", |
Callers
nothing calls this directly
Tested by
no test coverage detected