Skip to content

GitDiff

Base classes

Name Children Inherits
dict
builtins
dict() -> new empty dictionary

⋔ Inheritance diagram

graph TD
  189018019["output_types.GitDiff"]
  2645524081["builtins.dict"]
  2751680898["builtins.object"]
  2645524081 --> 189018019
  2751680898 --> 2645524081

🛈 DocStrings

Bases: TypedDict

Git diff information for a file change.

Source code in src/clawd_code_sdk/models/output_types.py
class GitDiff(TypedDict):
    """Git diff information for a file change."""

    filename: str
    status: Literal["modified", "added"]
    additions: int
    deletions: int
    changes: int
    patch: str

:fa-brands-github: Show source on GitHub