Method
Copy
(ctx context.Context, srcObj, dstDir model.Obj)
Source from the content-addressed store, hash-verified
| 339 | } |
| 340 | |
| 341 | func (d *Crypt) Copy(ctx context.Context, srcObj, dstDir model.Obj) error { |
| 342 | _, err := fs.Copy(ctx, srcObj.GetPath(), dstDir.GetPath()) |
| 343 | return err |
| 344 | } |
| 345 | |
| 346 | func (d *Crypt) Remove(ctx context.Context, obj model.Obj) error { |
| 347 | remoteStorage, remoteActualPath, err := op.GetStorageAndActualPath(obj.GetPath()) |
Callers
nothing calls this directly
Tested by
no test coverage detected