(parent ksuid.KSUID, retries int, author, message string, meta super.Value, objects []data.Object)
| 40 | } |
| 41 | |
| 42 | func NewAddsObject(parent ksuid.KSUID, retries int, author, message string, meta super.Value, objects []data.Object) *Object { |
| 43 | o := NewObject(parent, author, message, meta, retries) |
| 44 | for _, dataObject := range objects { |
| 45 | o.append(&Add{Commit: o.Commit, Object: dataObject}) |
| 46 | } |
| 47 | return o |
| 48 | } |
| 49 | |
| 50 | func NewDeletesObject(parent ksuid.KSUID, retries int, author, message string, ids []ksuid.KSUID) *Object { |
| 51 | o := NewObject(parent, author, message, super.Null, retries) |