MCPcopy Create free account
hub / github.com/Snapchat/Valdi / markAccessed

Method markAccessed

valdi/src/valdi/runtime/Resources/Remote/RemoteDownloader.cpp:102–104  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

100CachedLoadedItem::~CachedLoadedItem() = default;
101
102void CachedLoadedItem::markAccessed() {
103 _lastAccessTime = std::chrono::steady_clock::now();
104}
105
106const Value& CachedLoadedItem::getValue() const {
107 return _value;

Callers 1

enqueueMethod · 0.80

Calls 1

nowFunction · 0.50

Tested by

no test coverage detected