MCPcopy
hub / github.com/restic/restic / AddRow

Method AddRow

internal/ui/table/table.go:61–63  ·  view source on GitHub ↗

AddRow adds a new row to the table, which is filled with data.

(data interface{})

Source from the content-addressed store, hash-verified

59
60// AddRow adds a new row to the table, which is filled with data.
61func (t *Table) AddRow(data interface{}) {
62 t.data = append(t.data, data)
63}
64
65// AddFooter prints line after the table
66func (t *Table) AddFooter(line string) {

Callers 6

TestTableFunction · 0.80
runCacheFunction · 0.80
listKeysFunction · 0.80
PrintSnapshotsFunction · 0.80
newFeaturesCommandFunction · 0.80
StringMethod · 0.80

Calls

no outgoing calls

Tested by 1

TestTableFunction · 0.64