We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/context-hub/generator'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
UpdateStrategyInterface.php•568 B
<?php
declare(strict_types=1);
namespace Butschster\ContextGenerator\Lib\BinaryUpdater\Strategy;
/**
* Interface for platform-specific binary update strategies.
*/
interface UpdateStrategyInterface
{
/**
* Update a binary file, handling the case where the file is currently in use.
* This typically involves creating an external script that runs after the
* current process exits.
*
* @return bool Whether the update process was started successfully
*/
public function update(string $sourcePath, string $targetPath): bool;
}