Skip to content
GitHub Actions edited this page Jan 2, 2026 · 1 revision

content_type.cpp

Stand: 5. Dezember 2025
Version: 1.0.0
Kategorie: Src


Path: src/content/content_type.cpp

Purpose: Detect and manage content MIME types and metadata.

Public functions / symbols:

  • for (const auto& type : types_) {
  • if (type.mime_type == mime_type) {
  • ``
  • for (const auto& type_ext : type.extensions) {
  • if (first_line_end != std::string::npos && first_line_end < 1000) {
  • if (printable_count > 900) { // >90% printable
  • if (type.category == category) {
  • registerDefaultTypes();
  • return getByMimeType("application/pdf");
  • return getByMimeType("image/png");
  • return getByMimeType("image/jpeg");
  • return getByMimeType("image/gif");
  • return getByMimeType("application/zip");
  • return getByMimeType("application/geo+json");
  • return getByMimeType("application/json");
  • return getByMimeType("application/gpx+xml");
  • return getByMimeType("application/xml");
  • return getByMimeType("text/csv");
  • return getByMimeType("text/plain");
  • registerType({
  • ContentTypeRegistry::ContentTypeRegistry() {

ThemisDB Dokumentation

Version: 1.3.0 | Stand: Dezember 2025


📋 Schnellstart


🏗️ Architektur


🗄️ Basismodell


💾 Storage & MVCC


📇 Indexe & Statistiken


🔍 Query & AQL


💰 Caching


📦 Content Pipeline


🔎 Suche


⚡ Performance & Benchmarks


🏢 Enterprise Features


✅ Qualitätssicherung


🧮 Vektor & GNN


🌍 Geo Features


🛡️ Sicherheit & Governance

Authentication

Schlüsselverwaltung

Verschlüsselung

TLS & Certificates

PKI & Signatures

PII Detection

Vault & HSM

Audit & Compliance

Security Audits

Gap Analysis


🚀 Deployment & Betrieb

Docker

Observability

Change Data Capture

Operations


💻 Entwicklung

API Implementations

Changefeed

Security Development

Development Overviews


📄 Publikation & Ablage


🔧 Admin-Tools


🔌 APIs


📚 Client SDKs


📊 Implementierungs-Zusammenfassungen


📅 Planung & Reports


📖 Dokumentation


📝 Release Notes


📖 Styleguide & Glossar


🗺️ Roadmap & Changelog


💾 Source Code Documentation

Main Programs

Source Code Module


🗄️ Archive


🤝 Community & Support


Vollständige Dokumentation: https://makr-code.github.io/ThemisDB/

Clone this wiki locally