public function rename(string $path, string $newPath): bool
    {
        return $this->flySystem->rename($path, $newPath);
    }
public function rename(string $path, string $newPath): bool
    {
        return $this->flySystem->rename($path, $newPath);
    }
public function rename ( string $ path , string $ newPath ) : bool { return $ this -> flySystem -> rename ( $ path , $ newPath ) ; }
Rename a file.

@param string $path    The existing path
@param string $newPath The new path

@throws \League\Flysystem\FileExistsException
@throws \League\Flysystem\FileNotFoundException

@return bool
Rename a file .