Skip to content

ClaudeFileHistorySnapshot

Base classes

Name Children Inherits
ClaudeStorageModel
clawd_code_sdk.storage.models
Base for transcript models: fields these models don't know are kept.

⋔ Inheritance diagram

graph TD
  1754689738["models.ClaudeFileHistorySnapshot"]
  746985124["models.ClaudeStorageModel"]
  2604142835["base.ClaudeCodeBaseModel"]
  3879467795["main.BaseModel"]
  2751680898["builtins.object"]
  746985124 --> 1754689738
  2604142835 --> 746985124
  3879467795 --> 2604142835
  2751680898 --> 3879467795

🛈 DocStrings

Bases: ClaudeStorageModel

Snapshot data in file history entry.

Source code in src/clawd_code_sdk/storage/models.py
class ClaudeFileHistorySnapshot(ClaudeStorageModel):
    """Snapshot data in file history entry."""

    message_id: str
    tracked_file_backups: dict[str, Any]
    timestamp: str
    has_untracked_changes: bool | None = None

:fa-brands-github: Show source on GitHub