9WriteCache::Sent* WriteCache::For(
int slot)
20 std::optional<Sent>&
sent = _slots[
slot];
29 std::string_view value)
40 if (
it->second == value)
49 sent->Values.emplace(
key, value);
102 _key.assign(1,
static_cast<char>(
kind));
void Invalidate(int slot)
bool IsFirstFailure(int slot)
bool Changed(int slot, WriteKind kind, std::string_view elementId, std::string_view name, std::string_view value)
bool CursorChanged(int slot, bool shown)
void RemoveSlot(int slot)
static std::string ReadFile(const std::filesystem::path &path)
constexpr bool IsValidSlot(int slot)
constexpr int EveryoneSlot
static constexpr char KeySeparator