Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ApplyChange ¶
func ApplyChange(basePath string, change FileChange) error
ApplyChange applies a single file change relative to a base path.
Types ¶
type FileChange ¶
type FileChange struct {
Path string `json:"path"`
Content string `json:"content,omitempty"`
Mode string `json:"mode"` // "create", "modify", "delete"
}
FileChange represents a file change for batch operations. It's defined here to be shared across different tools.
Click to show internal directories.
Click to hide internal directories.