ent

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: 17 Imported by: 0

Documentation

Overview

Package ent contains functions to extract entitlements from an IPSW

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DiffDatabases

func DiffDatabases(db1, db2 map[string]string, conf *Config) (string, error)

DiffDatabases compares two entitlement databases and returns a diff

func GetDatabase

func GetDatabase(ipswPath, entDBPath string) (map[string]string, error)

GetDatabase returns the entitlement database for the given IPSW

Types

type Config

type Config struct {
	Markdown bool
	Color    bool
	DiffTool string
}

Config is the configuration for the entitlements command

type Entitlements

type Entitlements map[string]any

Entitlements is a map of entitlements

Jump to

Keyboard shortcuts

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