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

Function resolveInternalFileUrl

apps/sim/lib/uploads/utils/file-utils.ts:698–706  ·  view source on GitHub ↗
(file: RawFileInput)

Source from the content-addressed store, hash-verified

696}
697
698function resolveInternalFileUrl(file: RawFileInput): string {
699 if (file.url && isInternalFileUrl(file.url)) {
700 return file.url
701 }
702 if (file.path && isInternalFileUrl(file.path)) {
703 return file.path
704 }
705 return ''
706}
707
708/**
709 * Provider large-file handles are populated by the server pipeline and must never be

Callers 1

convertToUserFileFunction · 0.70

Calls 1

isInternalFileUrlFunction · 0.85

Tested by

no test coverage detected