MCPcopy Create free account
hub / github.com/claude-code-best/claude-code / isUrl

Function isUrl

src/utils/plugins/mcpbHandler.ts:96–98  ·  view source on GitHub ↗

* Check if a source is a URL

(source: string)

Source from the content-addressed store, hash-verified

94 * Check if a source is a URL
95 */
96function isUrl(source: string): boolean {
97 return source.startsWith('http://') || source.startsWith('https://')
98}
99
100/**
101 * Generate content hash for an MCPB file

Callers 2

checkMcpbChangedFunction · 0.85
loadMcpbFileFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected