{
  "source_file": "src/utils/__init__.py",
  "generated_at": "2026-01-10T22:55:11.147461",
  "summary": {
    "purpose": "Contains helper functions for various utilities such as file hashing and caching, language/extension detection, CLI formatting and output, and Git operations.",
    "exports": [
      "extension_map",
      "special_names",
      "get_language_for_filename",
      "is_binary_file",
      "should_count_for_language_stats",
      "binary_extensions",
      "excluded_from_stats",
      "set_centered",
      "banner",
      "separator",
      "info",
      "success",
      "warn",
      "error",
      "frame",
      "analyze_commit_history"
    ],
    "imports": [
      "os",
      "shutil",
      "re",
      "multiprocessing",
      "platform",
      "torch",
      "subprocess",
      "summary_cache",
      "cache_key",
      "cached_summary",
      "get_cache",
      "reset_cache",
      "analyze_commit_history",
      "extension_map",
      "special_names",
      "get_language_for_filename",
      "is_binary_file",
      "should_count_for_language_stats",
      "binary_extensions",
      "excluded_from_stats",
      "set_centered",
      "banner",
      "separator",
      "info",
      "success",
      "warn",
      "error",
      "frame"
    ],
    "key_logic": "The module provides functions for various utilities, including file and language detection, CLI formatting, and Git operations.",
    "important_classes": [],
    "important_functions": [],
    "dependencies": "The module depends on the 'os', 'shutil', 're', 'multiprocessing', 'platform', 'torch', 'subprocess', 'summary_cache', 'cache_key', 'cached_summary', 'get_cache', 'reset_cache', and 'analyze_commit_history' modules for utility functions and data structures.",
    "notes": "The module includes functions for hashing and caching files, detecting file extensions and languages, and formatting CLI output. It also provides functions for analyzing commit history and managing Git operations."
  }
}