extras

package
v0.0.0-...-bc22551 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2024 License: AGPL-3.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewConvert

func NewConvert(args []string) error

func NewDiff

func NewDiff(args []string) error

func NewHash

func NewHash(args []string) error

func NewPatch

func NewPatch(args []string) error

func WritePatchTable

func WritePatchTable(fileName string, data PatchTable) error

Types

type Patch

type Patch struct {
	Find     string `json:"find"`
	Replace  string `json:"replace"`
	Position string `json:"position"`
}

type PatchTable

type PatchTable struct {
	Bytes []Patch `json:"bytes"`
}

func ReadPatchTable

func ReadPatchTable(fileName string) (PatchTable, error)

Jump to

Keyboard shortcuts

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