Blender V5.0
memory_cache_file_load.cc File Reference
#include <optional>
#include "BLI_fileops.hh"
#include "BLI_hash.hh"
#include "BLI_map.hh"
#include "BLI_memory_cache_file_load.hh"
#include "BLI_mutex.hh"
#include "BLI_task.hh"
#include "BLI_vector.hh"
#include "BLI_vector_set.hh"

Go to the source code of this file.

Classes

class  blender::memory_cache::LoadFileKey
struct  blender::memory_cache::FileStatMap

Namespaces

namespace  blender
namespace  blender::memory_cache

Functions

static std::optional< int64_tblender::memory_cache::get_file_modification_time (const StringRefNull path)
static FileStatMapblender::memory_cache::get_file_stat_map ()
static void blender::memory_cache::invalidate_outdated_caches_if_necessary (const Span< StringRefNull > file_paths)
std::shared_ptr< CachedValueblender::memory_cache::get_loaded_base (const GenericKey &loader_key, Span< StringRefNull > file_paths, FunctionRef< std::unique_ptr< CachedValue >()> load_fn)