MCPcopy Create free account
hub / github.com/Noumena-Network/code / getBinaryBlobSavedMessage

Function getBinaryBlobSavedMessage

src/tools/McpResourceToolsRuntime.test.ts:51–53  ·  view source on GitHub ↗
(filepath: string, mimeType: string | undefined, size: number, prefix: string)

Source from the content-addressed store, hash-verified

49for (const outputStoragePath of outputStoragePaths) {
50 mock.module(outputStoragePath, () => ({
51 getBinaryBlobSavedMessage(filepath: string, mimeType: string | undefined, size: number, prefix: string) {
52 return `${prefix}saved ${mimeType ?? 'binary'} (${size}) at ${filepath}`
53 },
54 persistBinaryContent: async (
55 bytes: Buffer,
56 mimeType: string | undefined,

Callers 1

callFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected