MCPcopy Create free account
hub / github.com/ShipSecAI/studio / downloadFile

Method downloadFile

packages/component-sdk/src/interfaces.ts:12–12  ·  view source on GitHub ↗

* Download a file by its unique identifier * @param fileId UUID of the file to download * @returns File buffer and metadata

(fileId: string)

Source from the content-addressed store, hash-verified

10 * @returns File buffer and metadata
11 */
12 downloadFile(fileId: string): Promise<{
13 buffer: Buffer;
14 metadata: {
15 id: string;

Callers 12

api.tsFile · 0.65
toDetailMethod · 0.65
downloadMethod · 0.65
replayMethod · 0.65
downloadFileMethod · 0.65
downloadFileMethod · 0.65
downloadArtifactMethod · 0.65
executeFunction · 0.65
runActionFunction · 0.65
unspillFunction · 0.65

Implementers 3

FileStorageAdapterworker/src/adapters/file-storage.adapt
ShipSecApiClientpackages/backend-client/src/api-client
StorageServicebackend/src/storage/storage.service.ts

Calls

no outgoing calls

Tested by

no test coverage detected