//clika-runtime/io.clika.modelverse/SnapshotCompanion
SnapshotCompanion
[common]
data class SnapshotCompanion(val repo: String, val localDir: String, val files: Int, val failure: String, val failureCode: String)
One companion of a snapshot: a hub repository the model's family needs beside the source (a codec, say), where it landed, and the hub's refusal when it did not (failure empty means it landed, or was cached).
Constructors
| SnapshotCompanion | [common] constructor(repo: String, localDir: String, files: Int, failure: String, failureCode: String) |
Properties
| Name | Summary |
|---|---|
| failure | [common] val failure: String |
| failureCode | [common] val failureCode: String |
| files | [common] val files: Int |
| landed | [common] val landed: Boolean |
| localDir | [common] val localDir: String |
| repo | [common] val repo: String |