Skip to content

readPublishedFile

readPublishedFile(storage, projectId, buildId, rel): Promise<Buffer<ArrayBufferLike> | null>

Defined in: packages/core/src/capture/catalog/read.ts:10

A file of a build’s published Storybook by its path inside the build, or null when it is gone. Content-addressed builds answer through their manifest; older ones from the per-build copy.

StorageAdapter

string

string

string

Promise<Buffer<ArrayBufferLike> | null>