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