package
Version:
v0.2.0
Opens a new window with list of versions in this module.
Published: Sep 6, 2025
License: MIT
Opens a new window with license information.
Imports: 8
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
MarshalResult marshals a Result to JSON.
type Change struct {
Path string `json:"path"`
Additions int `json:"additions"`
Deletions int `json:"deletions"`
}
Change represents a single file changed by a patch.
type Result struct {
Files []Change `json:"files"`
}
Result contains metadata about an applied patch.
Apply parses a unified diff and applies it to the local filesystem.
It returns metadata about the applied changes.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.