MCPcopy
hub / github.com/Dimillian/CodexMonitor / isInlineImageUrl

Function isInlineImageUrl

src/services/tauri.ts:402–408  ·  view source on GitHub ↗
(image: string)

Source from the content-addressed store, hash-verified

400}
401
402function isInlineImageUrl(image: string) {
403 return (
404 image.startsWith("data:") ||
405 image.startsWith("http://") ||
406 image.startsWith("https://")
407 );
408}
409
410async function convertImagesToDataUrls(images: string[]): Promise<string[]> {
411 return Promise.all(

Callers 2

convertImagesToDataUrlsFunction · 0.85
normalizeImagesForRpcFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected