MCPcopy Index your code
hub / github.com/simstudioai/sim / getStorageProvider

Function getStorageProvider

apps/sim/lib/uploads/config.ts:125–129  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

123 * Get the current storage provider as a human-readable string
124 */
125export function getStorageProvider(): 'Azure Blob' | 'S3' | 'Local' {
126 if (USE_BLOB_STORAGE) return 'Azure Blob'
127 if (USE_S3_STORAGE) return 'S3'
128 return 'Local'
129}
130
131/**
132 * Check if we're using any cloud storage (S3 or Blob)

Callers 2

setup.server.tsFile · 0.90
route.tsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected