lipo

package
v0.8.6 Latest Latest
Warning

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

Go to latest
Published: May 4, 2024 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ArchInput

type ArchInput struct {
	Arch string
	Bin  string
}

type Lipo

type Lipo struct {
	// contains filtered or unexported fields
}

func New

func New(opts ...Option) *Lipo

func (*Lipo) Archs

func (l *Lipo) Archs() ([]string, error)

func (*Lipo) Create

func (l *Lipo) Create() error

func (*Lipo) DetailedInfo added in v0.2.0

func (l *Lipo) DetailedInfo(w io.Writer) error

func (*Lipo) Extract

func (l *Lipo) Extract(arches ...string) error

func (*Lipo) ExtractFamily

func (l *Lipo) ExtractFamily(arches ...string) error

func (*Lipo) Info added in v0.1.1

func (l *Lipo) Info() ([]string, error)

func (*Lipo) Remove

func (l *Lipo) Remove(arches ...string) (err error)

func (*Lipo) Replace

func (l *Lipo) Replace(inputs []*ReplaceInput) error

func (*Lipo) Thin

func (l *Lipo) Thin(arch string) error

func (*Lipo) VerifyArch

func (l *Lipo) VerifyArch(arches ...string) (bool, error)

type Option

type Option func(l *Lipo)

func WithArch

func WithArch(arches ...*ArchInput) Option

func WithFat64 added in v0.2.0

func WithFat64() Option

func WithHideArm64 added in v0.2.0

func WithHideArm64() Option

func WithInputs

func WithInputs(in ...string) Option

func WithOutput

func WithOutput(out string) Option

func WithSegAlign

func WithSegAlign(aligns ...*SegAlignInput) Option

type ReplaceInput

type ReplaceInput = ArchInput

type SegAlignInput

type SegAlignInput struct {
	Arch     string
	AlignHex string
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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