Method
Move
(ctx context.Context, srcObj, dstDir model.Obj)
Source from the content-addressed store, hash-verified
| 91 | } |
| 92 | |
| 93 | func (d *FebBox) Move(ctx context.Context, srcObj, dstDir model.Obj) (model.Obj, error) { |
| 94 | err := d.move(srcObj.GetID(), dstDir.GetID()) |
| 95 | if err != nil { |
| 96 | return nil, err |
| 97 | } |
| 98 | |
| 99 | return nil, nil |
| 100 | } |
| 101 | |
| 102 | func (d *FebBox) Rename(ctx context.Context, srcObj model.Obj, newName string) (model.Obj, error) { |
| 103 | err := d.rename(srcObj.GetID(), newName) |
Callers
nothing calls this directly
Tested by
no test coverage detected