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

Function getUploadPath

packages/server/src/utils/index.ts:2009–2013  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2007}
2008
2009export const getUploadPath = (): string => {
2010 return process.env.BLOB_STORAGE_PATH
2011 ? path.join(process.env.BLOB_STORAGE_PATH, 'uploads')
2012 : path.join(getUserHome(), '.flowise', 'uploads')
2013}
2014
2015export function generateId() {
2016 return uuidv4()

Callers

nothing calls this directly

Calls 1

getUserHomeFunction · 0.70

Tested by

no test coverage detected