MCPcopy Create free account
hub / github.com/antirez/llama.cpp-deepseek-v4-flash / fs_get_cache_file

Function fs_get_cache_file

common/common.cpp:986–994  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

984}
985
986std::string fs_get_cache_file(const std::string & filename) {
987 GGML_ASSERT(filename.find(DIRECTORY_SEPARATOR) == std::string::npos);
988 std::string cache_directory = fs_get_cache_directory();
989 const bool success = fs_create_directory_with_parents(cache_directory);
990 if (!success) {
991 throw std::runtime_error("failed to create cache directory: " + cache_directory);
992 }
993 return cache_directory + filename;
994}
995
996std::vector<common_file_info> fs_list(const std::string & path, bool include_directories) {
997 std::vector<common_file_info> files;

Calls 3

findMethod · 0.80
fs_get_cache_directoryFunction · 0.70

Tested by

no test coverage detected