MCPcopy
hub / github.com/coderamp-labs/gitingest / is_s3_enabled

Function is_s3_enabled

src/server/s3_utils.py:34–36  ·  view source on GitHub ↗

Check if S3 is enabled via environment variables.

()

Source from the content-addressed store, hash-verified

32
33
34def is_s3_enabled() -> bool:
35 """Check if S3 is enabled via environment variables."""
36 return os.getenv("S3_ENABLED", "false").lower() == "true"
37
38
39def get_s3_config() -> dict[str, str | None]:

Callers 9

_check_s3_cacheFunction · 0.90
_store_digest_contentFunction · 0.90
_generate_digest_urlFunction · 0.90
download_ingestFunction · 0.90
upload_to_s3Function · 0.85
upload_metadata_to_s3Function · 0.85
get_metadata_from_s3Function · 0.85
check_s3_object_existsFunction · 0.85
get_s3_url_for_ingest_idFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected