MCPcopy
hub / github.com/rclone/rclone / AddID

Method AddID

fs/operations/operations.go:2304–2308  ·  view source on GitHub ↗

AddID adds file's ID to the output if known

()

Source from the content-addressed store, hash-verified

2302
2303// AddID adds file's ID to the output if known
2304func (l *ListFormat) AddID() {
2305 l.AppendOutput(func(entry *ListJSONItem) string {
2306 return entry.ID
2307 })
2308}
2309
2310// AddOrigID adds file's Original ID to the output if known
2311func (l *ListFormat) AddOrigID() {

Callers 3

LsfFunction · 0.95
TestListFormatFunction · 0.95
SetListFormatMethod · 0.95

Calls 1

AppendOutputMethod · 0.95

Tested by 1

TestListFormatFunction · 0.76