AddEncrypted adds the encrypted path to file to output
()
| 2284 | |
| 2285 | // AddEncrypted adds the encrypted path to file to output |
| 2286 | func (l *ListFormat) AddEncrypted() { |
| 2287 | l.AppendOutput(func(entry *ListJSONItem) string { |
| 2288 | return l.normalisePath(entry, entry.Encrypted) |
| 2289 | }) |
| 2290 | } |
| 2291 | |
| 2292 | // AddHash adds the hash of the type given to the output |
| 2293 | func (l *ListFormat) AddHash(ht hash.Type) { |