Refactor Git URL related code, fix #336
This commit is contained in:
parent
e83a2f941e
commit
258906fdbb
8 changed files with 119 additions and 105 deletions
|
|
@ -11,6 +11,10 @@ import UIKit
|
|||
import SwiftyUserDefaults
|
||||
import ObjectiveGit
|
||||
|
||||
public enum GitAuthenticationMethod: String, DefaultsSerializable {
|
||||
case password, key
|
||||
}
|
||||
|
||||
public struct GitCredential {
|
||||
private var credential: Credential
|
||||
private let passwordStore = PasswordStore.shared
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue