WriteObject writes an object to the remote
(ctx context.Context, remote, content string, modTime time.Time)
| 294 | |
| 295 | // WriteObject writes an object to the remote |
| 296 | func (r *Run) WriteObject(ctx context.Context, remote, content string, modTime time.Time) Item { |
| 297 | return r.WriteObjectTo(ctx, r.Fremote, remote, content, modTime, false) |
| 298 | } |
| 299 | |
| 300 | // WriteUncheckedObject writes an object to the remote not checking for duplicates |
| 301 | func (r *Run) WriteUncheckedObject(ctx context.Context, remote, content string, modTime time.Time) Item { |