Closed Sriep closed 1 year ago
We need a new move file endpoint that moves a file without charging.
move
Currently goSDK.zboxcore.sdk.allocation.MoveOject
func (a *Allocation) MoveObject(path string, destPath string) error { err := a.CopyObject(path, destPath) if err != nil { return err } return a.DeleteFile(path) }
However, a copy charges, so copy and delete cannot be used instead of the free move action.
copy
delete
Add new handler to blobbercore.
Once we have the new move endpoint we will need to update the goSDK file linked above.
@guruhubb Please comment on this
We need a new
move
file endpoint that moves a file without charging.Currently goSDK.zboxcore.sdk.allocation.MoveOject
However, a
copy
charges, socopy
anddelete
cannot be used instead of the freemove
action.Add new handler to blobbercore.
Once we have the new
move
endpoint we will need to update the goSDK file linked above.