MCPcopy Create free account
hub / github.com/Acode-Foundation/Acode / githubRelease

Function githubRelease

src/cm/lsp/providerUtils.ts:221–242  ·  view source on GitHub ↗
(options: {
		repo: string;
		binaryPath: string;
		executable?: string;
		assetNames: Record<string, string>;
		extractFile?: string;
		archiveType?: "zip" | "binary";
		label?: string;
		source?: string;
	})

Source from the content-addressed store, hash-verified

219 };
220 },
221 githubRelease(options: {
222 repo: string;
223 binaryPath: string;
224 executable?: string;
225 assetNames: Record<string, string>;
226 extractFile?: string;
227 archiveType?: "zip" | "binary";
228 label?: string;
229 source?: string;
230 }): LauncherInstallConfig {
231 return {
232 kind: "github-release",
233 source: options.source || "github-release",
234 label: options.label,
235 executable: options.executable || options.binaryPath,
236 repo: options.repo,
237 assetNames: options.assetNames,
238 extractFile: options.extractFile,
239 archiveType: options.archiveType,
240 binaryPath: options.binaryPath,
241 };
242 },
243};

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected