MCPcopy Index your code
hub / github.com/FlowiseAI/Flowise / getFileFromUpload

Function getFileFromUpload

packages/components/src/storageUtils.ts:32–35  ·  view source on GitHub ↗
(filePath: string)

Source from the content-addressed store, hash-verified

30}
31
32export const getFileFromUpload = async (filePath: string): Promise<Buffer> => {
33 const provider = StorageProviderFactory.getProvider()
34 return provider.getFileFromUpload(filePath)
35}
36
37export const getFileFromStorage = async (file: string, ...paths: string[]): Promise<Buffer> => {
38 const provider = StorageProviderFactory.getProvider()

Callers 6

executeUpsertFunction · 0.85
createFileAttachmentFunction · 0.85
executeFlowFunction · 0.85
upsertDocStoreFunction · 0.85
uploadFilesToAssistantFunction · 0.85

Calls 2

getProviderMethod · 0.80
getFileFromUploadMethod · 0.65

Tested by

no test coverage detected