Files
ipatool/pkg/keychain/keychain_remove.go
Majd Alfhaily 95c3aa6629 Refactor API interfaces (#185)
- Move logging to command level.
- Simplify and unify interfaces for `appstore` package.
- Move sinf replication from "Download" API to "ReplicateSinf" API.
- Handle retries and command specific logic in the command level.
- Rename "Info" API to "AccountInfo".
2023-05-27 18:48:22 +02:00

15 lines
202 B
Go

package keychain
import (
"fmt"
)
func (k *keychain) Remove(key string) error {
err := k.keyring.Remove(key)
if err != nil {
return fmt.Errorf("failed to remove item: %w", err)
}
return nil
}