Ratul SarnaFormat Swift sources14662849 months agoHistory
26 lines · 501 B · Swift
RawDownload
import Foundation public enum ProviderCookieSource: String, CaseIterable, Identifiable, Sendable, Codable {    case auto    case manual    case off     public var id: String {        self.rawValue    }     public var displayName: String {        switch self {        case .auto: "Auto"        case .manual: "Manual"        case .off: "Off"        }    }     public var isEnabled: Bool {        switch self {        case .off: false        case .auto, .manual: true        }    }}

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t