# granite_storage.utils

granite_storage.utils.build_storage_object_key(*, model_name: str, entity_id: UUID | str, field_name: str, original_filename: str | None = None) → str

granite_storage.utils.guess_content_type(filename: str | None, fallback: str = 'application/octet-stream') → str

granite_storage.utils.safe_suffix(filename: str | None) → str

granite_storage.utils.sha256_bytes(content: bytes) → str

granite_storage.utils.utcnow_iso() → str