rename#
- barecat._api.Barecat.rename(old_path, new_path)[source]#
Rename a file or directory in the archive.
- Parameters:
- Raises:
FileNotFoundBarecatError – If a file or directory with the old path does not exist.
FileExistsBarecatError – If a file or directory with the new path already exists.