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

Function isDatabaseStorage

apps/sim/lib/core/storage/storage.ts:49–51  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

47 * Check if database is the configured storage method.
48 */
49export function isDatabaseStorage(): boolean {
50 return getStorageMethod() === 'database'
51}
52
53/**
54 * Get Redis client, but only if Redis is the configured storage method.

Callers

nothing calls this directly

Calls 1

getStorageMethodFunction · 0.85

Tested by

no test coverage detected