#include "global.hpp"
#include <fstream>
#include "filesystem.hpp"
#include "config.hpp"
#include "game_config.hpp"
#include "log.hpp"
#include "serialization/string_utils.hpp"
#include "serialization/unicode.hpp"
#include "util.hpp"
Go to the source code of this file.
Namespaces | |
filesystem | |
Macros | |
#define | LOG_FS LOG_STREAM(info, log_filesystem) |
#define | ERR_FS LOG_STREAM(err, log_filesystem) |
Functions | |
std::string | filesystem::get_prefs_file () |
std::string | filesystem::get_default_prefs_file () |
std::string | filesystem::get_save_index_file () |
std::string | filesystem::get_saves_dir () |
std::string | filesystem::get_addons_dir () |
std::string | filesystem::get_intl_dir () |
std::string | filesystem::get_screenshot_dir () |
bool | filesystem::looks_like_pbl (const std::string &file) |
bool | filesystem::ends_with (const std::string &str, const std::string &suffix) |
std::string | filesystem::read_map (const std::string &name) |
static void | filesystem::get_file_tree_checksum_internal (const std::string &path, file_tree_checksum &res) |
const file_tree_checksum & | filesystem::data_tree_checksum (bool reset=false) |
Get the time at which the data/ tree was last modified at. More... | |
Variables | |
static lg::log_domain | log_filesystem ("filesystem") |
#define ERR_FS LOG_STREAM(err, log_filesystem) |
Definition at line 17 of file filesystem_common.cpp.
#define LOG_FS LOG_STREAM(info, log_filesystem) |
Definition at line 16 of file filesystem_common.cpp.
Referenced by filesystem::data_tree_checksum().
|
static |