Documentation
¶
Overview ¶
Package patchfile provides a standard interface to read patchsets from files.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Log = func(format string, a ...interface{}) {}
Log is used to log debugging messages.
Functions ¶
Types ¶
type PatchSet ¶
type PatchSet interface {
// Validate validates the PatchSet.
Validate() error
// ApplyTo applies a PatchSet to a Patcher.
ApplyTo(*patchlib.Patcher) error
// SetEnabled sets the Enabled state of a Patch in a PatchSet.
SetEnabled(string, bool) error
}
PatchSet represents a set of patches which can be applied to a Patcher.
func ReadFromFile ¶
ReadFromFile reads a patchset from a file (but does not validate it).
Directories
¶
| Path | Synopsis |
|---|---|
|
Package kobopatch reads kobopatch style patches.
|
Package kobopatch reads kobopatch style patches. |
|
Package patch32lsb reads patch32lsb style patches.
|
Package patch32lsb reads patch32lsb style patches. |
Click to show internal directories.
Click to hide internal directories.