Skip to main content

Module removal

Module removal 

Source
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§

ModelDeletionPreview
What deleting a model would touch: the files (or a daemon delete), and an estimate of the space it would free.
ModelDeletionReport
The outcome of a deletion.

Enums§

RemovalError
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 record would do.
removable_paths
The files that removing record would delete (non-Ollama models).