MCPcopy
hub / github.com/codeaashu/claude-code / getBinaryBlobSavedMessage

Function getBinaryBlobSavedMessage

src/utils/mcpOutputStorage.ts:181–189  ·  view source on GitHub ↗
(
  filepath: string,
  mimeType: string | undefined,
  size: number,
  sourceDescription: string,
)

Source from the content-addressed store, hash-verified

179 * actually do with the file depends on provider/tooling.
180 */
181export function getBinaryBlobSavedMessage(
182 filepath: string,
183 mimeType: string | undefined,
184 size: number,
185 sourceDescription: string,
186): string {
187 const mt = mimeType || 'unknown type'
188 return `${sourceDescription}Binary content (${mt}, ${formatFileSize(size)}) saved to ${filepath}`
189}
190

Callers 2

callFunction · 0.85
persistBlobToTextBlockFunction · 0.85

Calls 1

formatFileSizeFunction · 0.85

Tested by

no test coverage detected