patch32lsb

package
v0.15.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 17, 2020 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Package patch32lsb reads patch32lsb style patches.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Parse

func Parse(buf []byte) (patchfile.PatchSet, error)

Parse parses a PatchSet from a buf.

Types

type PatchSet

type PatchSet map[string]patch

PatchSet represents a series of patches.

func (*PatchSet) ApplyTo

func (ps *PatchSet) ApplyTo(pt *patchlib.Patcher) error

ApplyTo applies a PatchSet to a Patcher.

func (*PatchSet) SetEnabled

func (ps *PatchSet) SetEnabled(patch string, enabled bool) error

SetEnabled sets the Enabled state of a Patch in a PatchSet.

func (*PatchSet) Validate

func (ps *PatchSet) Validate() error

Validate validates the PatchSet.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL