Skip to main content

createMemoryFileContentStore

@forge/monorepo


@forge/monorepo / backend/src / createMemoryFileContentStore

Function: createMemoryFileContentStore()

createMemoryFileContentStore(): FileContentStore

Defined in: backend/src/adapters/memory/files.ts:190

In-memory bytes.

signedUrl returns null rather than inventing a URL: this adapter has no signing mechanism, and the port says null means "proxy the read instead". A fabricated URL would be a URL that does not work, which is worse than an honest absence — and it would let a caller believe AC-6's mediated access was exercised when it was not.

Returns

FileContentStore