MCPcopy Create free account
hub / github.com/blender/cycles / path_cache_kernel_mark_used

Function path_cache_kernel_mark_used

src/util/path.cpp:988–992  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

986/* LRU Cache for Kernels */
987
988static void path_cache_kernel_mark_used(const string &path)
989{
990 const std::time_t current_time = std::time(nullptr);
991 OIIO::Filesystem::last_write_time(path, current_time);
992}
993
994bool path_cache_kernel_exists_and_mark_used(const string &path)
995{

Calls

no outgoing calls

Tested by

no test coverage detected