MCPcopy Create free account
hub / github.com/modelcontextprotocol/ext-apps / isFileUrl

Function isFileUrl

examples/pdf-server/server.ts:528–530  ·  view source on GitHub ↗
(url: string)

Source from the content-addressed store, hash-verified

526// =============================================================================
527
528export function isFileUrl(url: string): boolean {
529 return url.startsWith("file://") || url.startsWith("computer://");
530}
531
532export function isArxivUrl(url: string): boolean {
533 try {

Callers 7

mainFunction · 0.85
validateUrlFunction · 0.85
readPdfRangeFunction · 0.85
refreshRootsFunction · 0.85
createServerFunction · 0.85
resolveImageAnnotationFunction · 0.85
processInteractCommandFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…