AppendOutput adds string generated by specific function to printed output
(functionToAppend func(item *ListJSONItem) string)
| 2345 | |
| 2346 | // AppendOutput adds string generated by specific function to printed output |
| 2347 | func (l *ListFormat) AppendOutput(functionToAppend func(item *ListJSONItem) string) { |
| 2348 | l.output = append(l.output, functionToAppend) |
| 2349 | } |
| 2350 | |
| 2351 | // Format prints information about the DirEntry in the format defined |
| 2352 | func (l *ListFormat) Format(entry *ListJSONItem) (result string) { |
no outgoing calls