MCPcopy Create free account
hub / github.com/cloudflare/computer / isSupportedRemoteUrl

Function isSupportedRemoteUrl

packages/computer/src/git/cli.ts:2363–2365  ·  view source on GitHub ↗
(url: string)

Source from the content-addressed store, hash-verified

2361}
2362
2363function isSupportedRemoteUrl(url: string): boolean {
2364 return url.startsWith("https://") || url.startsWith("http://") || url.startsWith("file://");
2365}
2366
2367function errorMessage(cause: unknown): string {
2368 if (cause instanceof Error) return cause.message;

Callers 5

runCloneFunction · 0.85
runFetchFunction · 0.85
runPushFunction · 0.85
runPullFunction · 0.85
runRemoteFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected