1package soy.iko.opencode.data.model
4 * A saved opencode server connection. The [password] for HTTP Basic auth is resolved
5 * separately from EncryptedSharedPreferences and is null when not loaded/needed.
7data class ServerProfile(
11 val username: String? = null,
12 val password: String? = null,
13 val lastUsed: Long = 0,
15 val hasAuth: Boolean get() = !username.isNullOrBlank()
17 val displayLabel: String get() = label.takeIf { it.isNotBlank() } ?: baseUrl
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list