MCPcopy Create free account
hub / github.com/FlowiseAI/Flowise / removeFilesFromStorage

Function removeFilesFromStorage

packages/components/src/storageUtils.ts:67–70  ·  view source on GitHub ↗
(...paths: string[])

Source from the content-addressed store, hash-verified

65}
66
67export const removeFilesFromStorage = async (...paths: string[]): Promise<StorageSizeResult> => {
68 const provider = StorageProviderFactory.getProvider()
69 return provider.removeFilesFromStorage(...paths)
70}
71
72export const removeSpecificFileFromUpload = async (filePath: string): Promise<void> => {
73 const provider = StorageProviderFactory.getProvider()

Callers 3

removeAllChatMessagesFunction · 0.85
deleteDocumentStoreFunction · 0.85

Calls 2

getProviderMethod · 0.80

Tested by

no test coverage detected