21 lines
430 B
Go
21 lines
430 B
Go
|
package action
|
||
|
|
||
|
import (
|
||
|
. "ios-wrapper/internal/wrapper/ofile"
|
||
|
)
|
||
|
|
||
|
type removeUnnecessaryInfo struct{}
|
||
|
|
||
|
func (action *removeUnnecessaryInfo) withMacho(mf *MachoFile) error {
|
||
|
mf.Context().RemoveUnnecessaryInfo()
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (action *removeUnnecessaryInfo) withFat(ff *FatFile) error {
|
||
|
return defaultWithFat(action, ff)
|
||
|
}
|
||
|
|
||
|
func NewRemoveUnnecessaryInfoAction() *removeUnnecessaryInfo {
|
||
|
return &removeUnnecessaryInfo{}
|
||
|
}
|