Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsText ¶
IsText reports whether a significant prefix of s looks like correct UTF-8; that is, if it is likely that s is human-readable text.
func IsTextFile ¶
IsTextFile reports if a significant chunk of the specified file looks like correct UTF-8; that is, if it is likely that the file contains human- readable text.
Types ¶
type Architectures ¶
Architectures represents all supported architecture of an app.
func GetArchitectures ¶
func GetArchitectures(path string) (Architectures, error)
GetArchitectures returns all supported architecture given the app's path.
func (*Architectures) Load ¶
func (arch *Architectures) Load(cpu macho.Cpu)
Load loads the architectures from macho.Cpu.
func (*Architectures) LoadFromFat ¶
func (arch *Architectures) LoadFromFat(src []macho.FatArch)
LoadFromFat loads the architectures from []macho.FatArch.
func (*Architectures) String ¶
func (arch *Architectures) String() string
String returns the architecture in string format.
Click to show internal directories.
Click to hide internal directories.