Documentation
¶
Index ¶
Constants ¶
View Source
const ( GitHubOwner = "doITmagic" GitHubRepo = "rag-code-mcp" )
Variables ¶
This section is empty.
Functions ¶
func ApplyUpdate ¶
ApplyUpdate extracts the binary from the archive and replaces the current executable.
Types ¶
type UpdateInfo ¶
func CheckForUpdates ¶
func CheckForUpdates(currentVersion string) (*UpdateInfo, error)
CheckForUpdates queries GitHub for the latest release and compares it with the current version.
func (*UpdateInfo) DownloadAndVerify ¶
func (info *UpdateInfo) DownloadAndVerify(destPath string) error
DownloadAndVerify downloads the archive and checks its integrity.
Click to show internal directories.
Click to hide internal directories.