Rename¶
obspec.Rename ¶
Bases: Protocol
rename ¶
Move an object from one path to another in the same object store.
By default, this is implemented as a copy and then delete source. It may not check when deleting source that it was the same object that was originally copied.
Parameters:
Other Parameters:
-
overwrite
(bool
) –If
True
, if there exists an object at the destination, it will be overwritten. IfFalse
, will return an error if the destination already has an object.