Help us shape the future of Go! Take the 2026 Go Developer Survey

diff

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2023 License: MIT Imports: 26 Imported by: 0

Documentation

Overview

Package diff provides a way to diff two ipsws

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Context

type Context struct {
	IPSWPath        string
	Info            *info.Info
	Version         string
	Build           string
	Folder          string
	Mount           map[string]mount
	SystemOsDmgPath string
	MountPath       string
	IsMounted       bool
	Kernel          kernel
	DSC             string
	Webkit          string
	KDK             string
	// contains filtered or unexported fields
}

Context is the context for the diff

type Diff

type Diff struct {
	Title string

	Old Context
	New Context

	Kexts  string
	KDKs   string
	Ents   string
	Dylibs struct {
		New     string
		Removed string
		Updated string
	}
	Launchd string
	// contains filtered or unexported fields
}

Diff is the diff

func New

func New(title, ipswOld, ipswNew string, kdks []string) *Diff

New news the diff

func (*Diff) Diff

func (d *Diff) Diff() (err error)

Diff diffs the diff

func (*Diff) Save

func (d *Diff) Save(folder string) error

Save saves the diff

func (*Diff) String

func (d *Diff) String() string

func (*Diff) ToHTML

func (d *Diff) ToHTML(folder string) error

Jump to

Keyboard shortcuts

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