MCPcopy Create free account
hub / github.com/ScattrdBlade/bigFileUpload / isS3Configured

Function isS3Configured

utils/s3.ts:94–97  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

92}
93
94export function isS3Configured(): boolean {
95 const { s3Endpoint, s3Bucket, s3Region, s3AccessKeyId, s3SecretAccessKey } = settings.store as S3Store;
96 return Boolean(s3Endpoint && s3Bucket && s3Region && s3AccessKeyId && s3SecretAccessKey);
97}
98
99export async function uploadToS3(
100 fileBlob: Blob,

Callers 1

getServiceConfigErrorFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected