---
title: "Snapshot"
sidebar_label: "Snapshot"
description: "Kotlin binding reference: Snapshot."
---

<!-- Generated by tools/api_reference/generate_api_docs.py. Do not edit. -->

//[clika-runtime](../../../index.md)/[io.clika.modelverse](../index.md)/[Snapshot](index.md)

# Snapshot

[common]\
data class [Snapshot](index.md)(val localDir: [String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html), val files: [List](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-list/index.html)&lt;[String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html)&gt;, val weightsPrimary: [String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html)?, val licenseLine: [String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html)?, val companions: [List](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-list/index.html)&lt;[SnapshotCompanion](../SnapshotCompanion/index.md)&gt;)

What [Modelverse.snapshot](../Modelverse/snapshot.md) answers: the directory the model files rest in and the file names in it; the selected weight file on the GGUF lane (null elsewhere); the checkpoint's license line as the command line logs it (null when the facts were unavailable); and the companions, each with its outcome.

## Constructors

| | |
|---|---|
| [Snapshot](Snapshot.md) | [common]<br>constructor(localDir: [String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html), files: [List](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-list/index.html)&lt;[String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html)&gt;, weightsPrimary: [String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html)?, licenseLine: [String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html)?, companions: [List](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-list/index.html)&lt;[SnapshotCompanion](../SnapshotCompanion/index.md)&gt;) |

## Properties

| Name | Summary |
|---|---|
| [companions](companions.md) | [common]<br>val [companions](companions.md): [List](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-list/index.html)&lt;[SnapshotCompanion](../SnapshotCompanion/index.md)&gt; |
| [files](files.md) | [common]<br>val [files](files.md): [List](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-list/index.html)&lt;[String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html)&gt; |
| [licenseLine](licenseLine.md) | [common]<br>val [licenseLine](licenseLine.md): [String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html)? |
| [loadPath](loadPath.md) | [common]<br>val [loadPath](loadPath.md): [String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html)<br>The path a load takes: the selected weight file on the GGUF lane, the directory otherwise. |
| [localDir](localDir.md) | [common]<br>val [localDir](localDir.md): [String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html) |
| [weightsPrimary](weightsPrimary.md) | [common]<br>val [weightsPrimary](weightsPrimary.md): [String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html)? |