Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FileDiff ¶
type FileDiff struct {
File string `json:"file"`
Additions int `json:"additions"`
Deletions int `json:"deletions"`
Status string `json:"status"` // added, deleted, modified
}
FileDiff represents a diff for a single file between two snapshots.
type Patch ¶
type Patch struct {
Hash string `json:"hash"`
Message string `json:"message"`
Files []string `json:"files"`
Timestamp time.Time `json:"timestamp"`
}
Patch represents a recorded snapshot with its changed files.
type Tracker ¶
type Tracker struct {
// contains filtered or unexported fields
}
Tracker maintains a shadow git repository that records every file change the agent makes. Supports point-in-time restore and selective revert.
Click to show internal directories.
Click to hide internal directories.