Documentation ¶
Index ¶
- Variables
- func DiffPerm(t *testing.T, wantBin, gotBin string)
- func DiffSha256(t *testing.T, wantBin, gotBin string)
- func PatchFat64Reserved(t *testing.T, p string)
- type BinManager
- type LipoBin
- func (l *LipoBin) Archs(t *testing.T, in string) string
- func (l *LipoBin) Create(t *testing.T, out string, inputs ...string)
- func (l *LipoBin) DetailedInfo(t *testing.T, bins ...string) string
- func (l *LipoBin) Extract(t *testing.T, out, in string, arches []string)
- func (l *LipoBin) ExtractFamily(t *testing.T, out, in string, arches []string)
- func (l *LipoBin) Info(t *testing.T, bins ...string) string
- func (l *LipoBin) Remove(t *testing.T, out, in string, arches []string)
- func (l *LipoBin) Replace(t *testing.T, out, in string, archBins [][2]string)
- func (l *LipoBin) Thin(t *testing.T, out, in, arch string)
- type Opt
- type TestLipo
Constants ¶
This section is empty.
Variables ¶
View Source
var TestDir = filepath.Join(os.TempDir(), "testlipo-output")
Functions ¶
func DiffSha256 ¶
func PatchFat64Reserved ¶ added in v0.5.0
Types ¶
type BinManager ¶ added in v0.8.3
type BinManager struct { Dir string // contains filtered or unexported fields }
func NewBinManager ¶ added in v0.8.3
func NewBinManager(dir string) *BinManager
type LipoBin ¶
type LipoBin struct { Bin string // contains filtered or unexported fields }
func (*LipoBin) ExtractFamily ¶
type Opt ¶ added in v0.2.0
type Opt func(l *LipoBin)
func WithHideArm64 ¶ added in v0.2.0
func WithIgnoreErr ¶ added in v0.9.2
WithIgnoreErr will ignore a lipo command error not to call t.Fatal()
func WithSegAlign ¶ added in v0.2.0
type TestLipo ¶
type TestLipo struct { *BinManager FatBin string LipoBin // contains filtered or unexported fields }
func (*TestLipo) NewArchBin ¶
Click to show internal directories.
Click to hide internal directories.