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

Function resolveScheme

apps/sim/connectors/s3/s3.ts:225–227  ·  view source on GitHub ↗

* Returns the request scheme: always `https` for AWS, or the endpoint scheme * (which may be `http` for local MinIO) for a custom endpoint.

(ctx: S3Context)

Source from the content-addressed store, hash-verified

223 * (which may be `http` for local MinIO) for a custom endpoint.
224 */
225function resolveScheme(ctx: S3Context): string {
226 return ctx.endpoint ? ctx.endpoint.scheme : 'https'
227}
228
229/**
230 * Builds the canonical URI for an object key.

Callers 1

buildUrlFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected