MCPcopy
hub / github.com/rclone/rclone / AddEncrypted

Method AddEncrypted

fs/operations/operations.go:2286–2290  ·  view source on GitHub ↗

AddEncrypted adds the encrypted path to file to output

()

Source from the content-addressed store, hash-verified

2284
2285// AddEncrypted adds the encrypted path to file to output
2286func (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
2293func (l *ListFormat) AddHash(ht hash.Type) {

Callers 3

LsfFunction · 0.95
TestListFormatFunction · 0.95
SetListFormatMethod · 0.95

Calls 2

AppendOutputMethod · 0.95
normalisePathMethod · 0.95

Tested by 1

TestListFormatFunction · 0.76