Cleanup GitServerSettingTableViewController

This commit is contained in:
Mingshen Sun 2019-11-30 17:37:09 -08:00
parent 9b304433fb
commit 902930ddfc
No known key found for this signature in database
GPG key ID: 1F86BA2052FED3B4
5 changed files with 156 additions and 131 deletions

View file

@ -7,14 +7,8 @@
//
import Foundation
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