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

Function sizeLimitSkipReason

apps/sim/connectors/utils.ts:164–166  ·  view source on GitHub ↗
(maxBytes: number)

Source from the content-addressed store, hash-verified

162
163/** Human-readable size-limit skip reason, e.g. "File exceeds the 10MB size limit". */
164export function sizeLimitSkipReason(maxBytes: number): string {
165 return `File exceeds the ${Math.round(maxBytes / (1024 * 1024))}MB size limit and was not indexed`
166}
167
168/**
169 * Returns the listing stub as-is, or a skipped marker when its size exceeds the cap.

Callers 11

utils.test.tsFile · 0.90
getFileDocumentFunction · 0.90
sharepoint.tsFile · 0.90
dropbox.tsFile · 0.90
s3.tsFile · 0.90
github.tsFile · 0.90
onedrive.tsFile · 0.90
skippedForSizeFunction · 0.90
google-drive.tsFile · 0.90
zoom.tsFile · 0.90
stubOrSkipBySizeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected