public class HubSnapshot
A complete local model snapshot pinned to an immutable Hugging Face commit. Contains paths and metadata, never weight buffers or downloaded Python code.
snapshot = HubClient.download("Qwen/Qwen3.5-9B"); print(snapshot.path)
| Modifier and Type | Member | Description |
|---|---|---|
| public readonly property | filesfiles as ImmutableList<String> |
Retained model/configuration/tokenizer filenames. |
| public readonly property | pathpath as FolderPath |
Complete local checkpoint directory. |
| public readonly property | repositoryrepository as String |
Hub repository identifier. |
| public readonly property | revisionrevision as String |
Resolved immutable Git commit, not a moving branch name. |
| public readonly property | totalBytestotalBytes as ULong |
Total bytes of the downloaded assets. |
| Modifier and Type | Member | Description |
|---|---|---|
| public | HubSnapshotHubSnapshot(path as FolderPath, repository as String, revision as String, files as IList<String>, totalBytes as ULong) |
Captures validated snapshot metadata and an immutable filename list. |