struct
LLM::Cache::DeleteOutcome
- LLM::Cache::DeleteOutcome
- Struct
- Value
- Object
Overview
Returned by bulk mutations so callers can surface both successful
deletes and per-file failures (the prior shape returned just an
Int32, hiding partial failures behind a single number that the
caller would print as if everything succeeded). #orphans counts
reclaimed temp files separately so "removed N entries" keeps meaning
N real cached responses.
Defined in:
llm/cache.crConstructors
Instance Method Summary
- #clone
- #copy_with(deleted _deleted = @deleted, failed _failed = @failed, orphans _orphans = @orphans)
- #deleted : Int32
- #failed : Int32
- #orphans : Int32
- #total
Constructor Detail
Instance Method Detail
def copy_with(deleted _deleted = @deleted, failed _failed = @failed, orphans _orphans = @orphans)
#