MCPcopy Create free account
hub / github.com/MusicPlayerDaemon/MPD / OnRemoteTag

Method OnRemoteTag

src/RemoteTagCache.cxx:102–111  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

100}
101
102void
103RemoteTagCache::Item::OnRemoteTag(Tag &&_tag) noexcept
104{
105 tag = std::move(_tag);
106
107 scanner.reset();
108
109 const std::lock_guard lock{parent.mutex};
110 parent.ItemResolved(*this);
111}
112
113void
114RemoteTagCache::Item::OnRemoteTagError(std::exception_ptr e) noexcept

Callers 1

InvokeHandlersMethod · 0.45

Calls 1

ItemResolvedMethod · 0.80

Tested by

no test coverage detected