Expand description
Deleting an installed model: what a deletion would touch (a preview) and the pure path/size logic behind it. The actual removal — trashing files or asking the Ollama daemon to delete a tag — is driven by the runtime crate.
Structs§
- Model
Deletion Preview - What deleting a model would touch: the files (or a daemon delete), and an estimate of the space it would free.
- Model
Deletion Report - The outcome of a deletion.
Enums§
- Removal
Error - Why a model could not be deleted.
Functions§
- is_
deletable - Whether a model can be deleted (built-in and endpoint models can’t).
- preview
- Preview what deleting
recordwould do. - removable_
paths - The files that removing
recordwould delete (non-Ollama models).