MCPcopy
hub / github.com/rclone/rclone / AddPath

Method AddPath

fs/operations/operations.go:2279–2283  ·  view source on GitHub ↗

AddPath adds path to file to output

()

Source from the content-addressed store, hash-verified

2277
2278// AddPath adds path to file to output
2279func (l *ListFormat) AddPath() {
2280 l.AppendOutput(func(entry *ListJSONItem) string {
2281 return l.normalisePath(entry, entry.Path)
2282 })
2283}
2284
2285// AddEncrypted adds the encrypted path to file to output
2286func (l *ListFormat) AddEncrypted() {

Callers 5

LsfFunction · 0.95
listSubdirsMethod · 0.95
DstLsfFunction · 0.95
TestListFormatFunction · 0.95
SetListFormatMethod · 0.95

Calls 2

AppendOutputMethod · 0.95
normalisePathMethod · 0.95

Tested by 3

listSubdirsMethod · 0.76
DstLsfFunction · 0.76
TestListFormatFunction · 0.76