20 bool update(
const std::string &name, std::string_view data);
21 bool load(
const std::string &name, std::ostream &os);
22 bool exists(
const std::string &name);
25 bool updateCopyFile(
const std::string &name,
const std::string &src_path);
31 bool loadByPath(
const std::string &path, std::ostream &os);
32 bool updateByPath(
const std::string &path, std::string_view data);
static v2f dir(const v2f &pos_dist)
Definition camera.cpp:191
Definition filecache.h:13
bool exists(const std::string &name)
Definition filecache.cpp:76
bool updateCopyFile(const std::string &name, const std::string &src_path)
Definition filecache.cpp:82
void createDir()
Definition filecache.cpp:15
bool update(const std::string &name, std::string_view data)
Definition filecache.cpp:64
bool updateByPath(const std::string &path, std::string_view data)
Definition filecache.cpp:50
FileCache(const std::string &dir)
Definition filecache.h:18
bool load(const std::string &name, std::ostream &os)
Definition filecache.cpp:70
bool loadByPath(const std::string &path, std::ostream &os)
Definition filecache.cpp:23
std::string m_dir
Definition filecache.h:28