struct

LLM::Cache::DeleteOutcome

Inherits Struct < Value < Object

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.

Constructors

new(deleted : Int32, failed : Int32, orphans : Int32 = 0)
Source

Instance methods

clone
Source
copy_with(deleted _deleted = @deleted, failed _failed = @failed, orphans _orphans = @orphans)
Source
deleted
failed
orphans
total
Source